Fixed another bug with the end of game script.

BECAUSE I GOT THERE, AWWWW YEAAAA!