mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-22 18:49:40 +00:00
Codechange: Remove Game::GetGameInstance() (duplicate of Game::GetInstance()) (#13901)
This commit is contained in:
@@ -1311,7 +1311,7 @@ void ShowScriptDebugWindowIfScriptError()
|
||||
}
|
||||
}
|
||||
|
||||
GameInstance *g = Game::GetGameInstance();
|
||||
GameInstance *g = Game::GetInstance();
|
||||
if (g != nullptr && g->IsDead()) {
|
||||
ShowScriptDebugWindow(OWNER_DEITY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user