Fix: [Script] Only show debug script window at the end of savegame loading (#12135)
This commit is contained in:
@@ -67,6 +67,9 @@ void GameInstance::Died()
|
||||
{
|
||||
ScriptInstance::Died();
|
||||
|
||||
/* Don't show errors while loading savegame. They will be shown at end of loading anyway. */
|
||||
if (_switch_mode != SM_NONE) return;
|
||||
|
||||
ShowScriptDebugWindow(OWNER_DEITY);
|
||||
|
||||
const GameInfo *info = Game::GetInfo();
|
||||
|
Reference in New Issue
Block a user