Fix arenas not switching back from end biome

This commit is contained in:
Flashfyre committed 2023-12-31 10:33:34 -05:00
1 parent 0700e9313d
commit 5d7f69e35f
1 file changed
+4 -2
+4 -2
View File
@@ -597,7 +597,8 @@ export class ArenaBase extends Phaser.GameObjects.Container {
repeat: -1
});
this.base.play(baseKey);
}
} else
this.base.stop();
this.add(this.base);
@@ -619,7 +620,8 @@ export class ArenaBase extends Phaser.GameObjects.Container {
repeat: -1
});
prop.play(propKey);
}
} else
prop.stop();
prop.setVisible(hasProps && !!(this.propValue & (1 << p)));
this.add(prop);