mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 07:10:46 -05:00
Leave room upon forfeiting
This commit is contained in:
@@ -889,6 +889,7 @@
|
||||
},
|
||||
submit: function(data) {
|
||||
this.room.send('/forfeit');
|
||||
app.removeRoom(this.room.id);
|
||||
this.close();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user