-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
WHAT IS THE PROBLEM?
The restart savegame command does quit the current game, and loads the main screen, but does not load/ start the current savegame again.
HOW CAN I REPRODUCE THE ERROR?
Select 9) Restart Savegame from powerTools menu
Screenshots or log information
2025-01-22 16:15 Info: Ignored 'autoStartSavegame' start parameter after game restart
Additional information (please complete the following information):
- Game version: 1.4.0.0 b31789
- Mod Version 1.0.0.0
- Type of game client: Giants
- Do you play single or multiplayer: Singleplayer
- Are you the host (if multiplayer) [yes/no]:
Additional context
I checked basegame code, and found this in main.lua, function init():
elseif StartParams.getIsSet("restart") and not GameLoadingCancelSimulator.ACTIVE then
Logging.info("Ignored \'autoStartSavegame\' start parameter after game restart")
else
autoStartLocalSavegame(v9)
end
GameLoadingCancelSimulator class only gets involved when g_isDevelopmentVersion is true. And that is read from dataS/settings.xml very early:
local isDevelop = xmlFile:getString("settings#developmentLevel", "release"):lower()
So far I haven't found a way around this.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working