mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-18 01:42:38 +01: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