mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
automatically reveal map when a player wins
This was SVN commit r9039.
This commit is contained in:
parent
b4d9ab336b
commit
ecbe92bdda
1 changed files with 1 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ function checkPlayerState()
|
|||
{
|
||||
g_GameEnded = true;
|
||||
switchMusic("win_1", 0.0);
|
||||
Engine.PostNetworkCommand({"type": "reveal-map", "enable": true});
|
||||
g_SessionDialog.open("Victory", "You have won the battle!\nDo you want to leave the game now?", null, 320, 160, leaveGame);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue