zone team check remove

This commit is contained in:
ntr 2019-01-08 16:09:45 +11:00
parent ef5b2acd6c
commit 828d67ef06

View File

@ -71,7 +71,6 @@ class Zones extends Phaser.Scene {
// If panning and mouse release is on node it won't allocate
if (gameObjects[0] instanceof Node) {
const team = this.registry.get('cryps').filter(c => c.active).map(c => c.id);
if (team.length === 0) return false;
if (gameObjects[0].success) return false;
this.registry.get('ws').sendZoneJoin(zoneId, gameObjects[0].id, team);
this.cleanUp();