From: Holger Schemel Date: Sun, 28 Oct 2018 15:41:29 +0000 (+0100) Subject: fixed bug with Sokoban auto-exit option only working for local player X-Git-Tag: 4.1.2.0~122 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=ae55cab94c43d759ef6d9772e32322df930a760d;p=rocksndiamonds.git fixed bug with Sokoban auto-exit option only working for local player --- diff --git a/src/game.c b/src/game.c index 2eb944d2..479fa0ae 100644 --- a/src/game.c +++ b/src/game.c @@ -13961,7 +13961,7 @@ static int DigField(struct PlayerInfo *player, { local_player->players_still_needed = 0; - PlayerWins(player); + PlayerWins(local_player); PlayLevelSound(x, y, SND_GAME_SOKOBAN_SOLVING); }