Fixed a typo that caused the game to crash on mission end.

Fixed a typo that caused the game to crash on mission end