forked from 0ad/0ad
automatically reveal map when a player wins
This was SVN commit r9039.
This commit is contained in:
parent
b4d9ab336b
commit
ecbe92bdda
@ -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 New Issue
Block a user