- Reset the crouch toggle only when loading a new game, not every time we clear out the input.

* We need to preserve the crouch toggle when loading saves.
* Deliberately not resetting during level transitions as each level in an episode is interconnecting.
This commit is contained in:
Mitchell Richters 2023-09-24 17:50:06 +10:00
parent ae192df7b7
commit 8d8c30d10e
3 changed files with 10 additions and 4 deletions

View file

@ -156,6 +156,7 @@ void NewGame(MapRecord* map, int skill, bool ns = false)
gi->NewGame(map, skill, ns);
gameaction = ga_level;
ResetStatusBar();
gameInput.resetCrouchToggle();
});
}