diff --git a/js/client-battle.js b/js/client-battle.js index 09e24169c..deda15a30 100644 --- a/js/client-battle.js +++ b/js/client-battle.js @@ -889,6 +889,7 @@ }, submit: function(data) { this.room.send('/forfeit'); + app.removeRoom(this.room.id); this.close(); } });