flip x
This commit is contained in:
parent
f2cf67fa0f
commit
3a367ebe6a
@ -131,6 +131,8 @@ class CrypImage extends Phaser.GameObjects.Image {
|
||||
super(scene, crypAvatarX, crypAvatarY, 'aztec', `sprite${Math.floor(Math.random() * 19) + 1}`);
|
||||
this.setScale(0.5);
|
||||
|
||||
if (!team) this.flipX = true;
|
||||
|
||||
// Save position and cryp details
|
||||
this.scene = scene;
|
||||
this.iter = iter;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user