Leave room upon forfeiting

This commit is contained in:
Guangcong Luo
2013-05-15 20:17:00 -07:00
parent 81a7d93e65
commit ebf65a92ab

View File

@@ -889,6 +889,7 @@
},
submit: function(data) {
this.room.send('/forfeit');
app.removeRoom(this.room.id);
this.close();
}
});