skip faceoff serverside

This commit is contained in:
ntr
2019-11-29 16:08:09 +10:00
parent 6c1c411092
commit 9fe9020ac9
3 changed files with 3 additions and 6 deletions
-5
View File
@@ -220,11 +220,6 @@ function registerEvents(store) {
const player = v.players.find(p => p.id === account.id);
store.dispatch(actions.setPlayer(player));
const skip = v.time_control === 'Practice' && v.phase === 'Lobby';
if (skip) {
ws.sendInstanceReady(v.id);
}
if (v.phase === 'Finished') {
ws.sendAccountInstances();
}