This commit is contained in:
ntr 2018-12-15 12:45:31 +11:00
parent f2cf67fa0f
commit 3a367ebe6a

View File

@ -131,6 +131,8 @@ class CrypImage extends Phaser.GameObjects.Image {
super(scene, crypAvatarX, crypAvatarY, 'aztec', `sprite${Math.floor(Math.random() * 19) + 1}`); super(scene, crypAvatarX, crypAvatarY, 'aztec', `sprite${Math.floor(Math.random() * 19) + 1}`);
this.setScale(0.5); this.setScale(0.5);
if (!team) this.flipX = true;
// Save position and cryp details // Save position and cryp details
this.scene = scene; this.scene = scene;
this.iter = iter; this.iter = iter;