I’m trying to do a simple menu right at the start of the game so that the player does not have to scroll through the intro every time they start up the thing.
Admittedly, I have very little idea of what I’m doing, so I cannibalized finishOptionRestore and got the following bit of code:
RestoreGame()
{
if (RestoreAction.askAndRestore())
{
;
}
else
gameStartChoice.select(); //<-- This leads to the original menu.
}
It works just fine for the most part. If the player doesn’t select a saved game, it just knocks them back to the original menu with the NewGame, Restore and Quit options. But there is one weird result: for some reason, when I load a save from this code, it is loaded twice in a row… or at the very least, the Look Around description is shown twice so that when loading a savegame, instead of showing:
It shows:
There’s no other weird behavior apart from that and loading the save from the Restore parser command works as intended.
Any idea what’s wrong?