Describe the bug
The restartScenario.bat script does not work when the game first loads because the "Load recent" option in the game's "File" menu is not initialized correctly. We have to hover our mouse and click on "Load recent" before the list of recent game files (which restartScenario.bat relies on) can show up. It is not a critical bug though because we just need to remember to click on "Load recent" when we first open the game, but it is annoying.
To Reproduce
Steps to reproduce the behavior:
Boot up Command and load a scenario (do not click or use "Load recent")
Run the restartScenario.bat file or the scripts/floridistan/restart_demo.py demo.
Expected behaviorrestartScenario.bat should restart the scenario when Command first loads without needing the user to click on the "Load recent" button once.
Describe the bug The
restartScenario.bat
script does not work when the game first loads because the "Load recent" option in the game's "File" menu is not initialized correctly. We have to hover our mouse and click on "Load recent" before the list of recent game files (whichrestartScenario.bat
relies on) can show up. It is not a critical bug though because we just need to remember to click on "Load recent" when we first open the game, but it is annoying.To Reproduce Steps to reproduce the behavior:
restartScenario.bat
file or thescripts/floridistan/restart_demo.py
demo.Expected behavior
restartScenario.bat
should restart the scenario when Command first loads without needing the user to click on the "Load recent" button once.