Fix arenas not switching back from end biome
This commit is contained in:
parent
0700e9313d
commit
5d7f69e35f
|
@ -597,7 +597,8 @@ export class ArenaBase extends Phaser.GameObjects.Container {
|
||||||
repeat: -1
|
repeat: -1
|
||||||
});
|
});
|
||||||
this.base.play(baseKey);
|
this.base.play(baseKey);
|
||||||
}
|
} else
|
||||||
|
this.base.stop();
|
||||||
|
|
||||||
this.add(this.base);
|
this.add(this.base);
|
||||||
|
|
||||||
|
@ -619,7 +620,8 @@ export class ArenaBase extends Phaser.GameObjects.Container {
|
||||||
repeat: -1
|
repeat: -1
|
||||||
});
|
});
|
||||||
prop.play(propKey);
|
prop.play(propKey);
|
||||||
}
|
} else
|
||||||
|
prop.stop();
|
||||||
|
|
||||||
prop.setVisible(hasProps && !!(this.propValue & (1 << p)));
|
prop.setVisible(hasProps && !!(this.propValue & (1 << p)));
|
||||||
this.add(prop);
|
this.add(prop);
|
||||||
|
|
Loading…
Reference in New Issue