feat(#10): reset camera position after changing level

This commit is contained in:
Juan Sebastián Montoya 2024-09-14 23:51:24 -05:00
parent e2c439d1f3
commit abf334607e
6 changed files with 47 additions and 2 deletions

View file

@ -28,5 +28,6 @@ export class MapManagement extends GameObject {
}
const map = this.gameObjects.find((item) => item.elementId === elementId);
this.selected = map.name;
this.eventEmitter.emit("changeLevel");
}
}