Fix a bug in game.c causing it to use the wrong replay data when switching between the game and editor.