That’s the movie I’m thinking of, too. Just remember the trailer, which had that exchange (or very similar), but never saw the movie. I’ve seen Wargames several times and don’t recall that scene in it. But a few folks here are adamant that it is.
I’ve been reviewing trailers on youtube for both movies. Can’t find the exchange so I can’t say with confidence it was in Twilight’s Last Gleaming.