diff --git a/js/client-battle.js b/js/client-battle.js index db7975b7b..d3ff17fad 100644 --- a/js/client-battle.js +++ b/js/client-battle.js @@ -686,6 +686,10 @@ this.choice = null; this.updateControlsForPlayer(); }, + clearChoice: function() { + this.choice = null; + this.updateControlsForPlayer(); + }, leaveBattle: function() { this.hideTooltip(); this.send('/leavebattle');