Fixing cat running too fast on reconnect scene because animations were duplicated

This commit is contained in:
David Négrier 2020-12-18 16:08:04 +01:00
parent df114bc1ce
commit 36f886aed6

View File

@ -580,7 +580,7 @@ export class GameScene extends ResizableScene implements CenterListener {
this.scene.wake();
this.scene.sleep(ReconnectingSceneName);
this.scene.stop(ReconnectingSceneName);
//init user position and play trigger to check layers properties
this.gameMap.setPosition(this.CurrentPlayer.x, this.CurrentPlayer.y);