diff options
Diffstat (limited to 'ai/default')
-rw-r--r-- | ai/default/default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ai/default/default.c b/ai/default/default.c index 44fb1572d..0fb4a3817 100644 --- a/ai/default/default.c +++ b/ai/default/default.c @@ -3831,7 +3831,7 @@ static void AiHandleTakeover(Player *p) return; p->bankrupt_timeout = 0; DeleteWindowById(WC_BUY_COMPANY, _current_player); - if (_current_player == _local_player) { + if (IsLocalPlayer()) { AskExitToGameMenu(); return; } |