Fixing cat running too fast on reconnect scene because animations were duplicated
This commit is contained in:
parent
df114bc1ce
commit
36f886aed6
@ -580,7 +580,7 @@ export class GameScene extends ResizableScene implements CenterListener {
|
|||||||
|
|
||||||
|
|
||||||
this.scene.wake();
|
this.scene.wake();
|
||||||
this.scene.sleep(ReconnectingSceneName);
|
this.scene.stop(ReconnectingSceneName);
|
||||||
|
|
||||||
//init user position and play trigger to check layers properties
|
//init user position and play trigger to check layers properties
|
||||||
this.gameMap.setPosition(this.CurrentPlayer.x, this.CurrentPlayer.y);
|
this.gameMap.setPosition(this.CurrentPlayer.x, this.CurrentPlayer.y);
|
||||||
|
Loading…
Reference in New Issue
Block a user