no team selected err msg
This commit is contained in:
@@ -86,7 +86,6 @@ class MenuNavigation extends Phaser.Scene {
|
||||
.setOrigin(0)
|
||||
.on('pointerdown', () => {
|
||||
const team = this.registry.get('cryps').filter(c => c.active).map(c => c.id);
|
||||
if (team.length === 0) return false;
|
||||
ws.sendGamePvp(team);
|
||||
return this.scene.restart();
|
||||
});
|
||||
@@ -115,7 +114,6 @@ class MenuNavigation extends Phaser.Scene {
|
||||
.setOrigin(0)
|
||||
.on('pointerdown', () => {
|
||||
const team = this.registry.get('cryps').filter(c => c.active).map(c => c.id);
|
||||
if (team.length === 0) return false;
|
||||
ws.sendGamePve(team, 'Normal');
|
||||
return this.scene.restart();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user