forked from 0ad/0ad
Disable resign button after resigning once. Patch by elexis. Fixes #3193
This was SVN commit r16582.
This commit is contained in:
parent
8099fe01de
commit
a959fcf337
@ -286,6 +286,8 @@ function resignGame(leaveGameAfterResign)
|
||||
"playerId": Engine.GetPlayerID()
|
||||
});
|
||||
|
||||
Engine.GetGUIObjectByName("menuResignButton").enabled = false;
|
||||
|
||||
global.music.setState(global.music.states.DEFEAT);
|
||||
|
||||
// Resume the game if not resigning.
|
||||
|
Loading…
Reference in New Issue
Block a user