automatically reveal map when a player wins

This was SVN commit r9039.
This commit is contained in:
WhiteTreePaladin 2011-03-06 01:54:38 +00:00
parent b4d9ab336b
commit ecbe92bdda

View File

@ -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);
}
}