(svn r23720) -Fix/Feature [FS#4935]: show the script debug window also when the game script crashes
This commit is contained in:
@@ -1321,4 +1321,9 @@ void ShowAIDebugWindowIfAIError()
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
GameInstance *g = Game::GetGameInstance();
|
||||
if (g != NULL && g->IsDead()) {
|
||||
ShowAIDebugWindow(OWNER_DEITY);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user