var endGame = function(liberalWin, winMethod) { if (State.inGame) { State.inGame = false; State.started = false; State.gameOver = true; Chat.setDirective('GAME OVER'); Overlay.show('victory', {liberals: liberalWin, method: winMethod}); } };
var endGame = function(liberalWin, winMethod) { if (State.inGame) { State.inGame = false; State.finished = true; Chat.toggleMute(false); Chat.setDirective('GAME OVER'); Overlay.show('victory', {liberals: liberalWin, method: winMethod}); } };