Removed redundant const
This commit is contained in:
parent
b86d9dd4ce
commit
5c68b02fff
@ -55,8 +55,7 @@ const createScene = (scene: Phaser.Scene) => {
|
|||||||
|
|
||||||
const loadMap = async () => {
|
const loadMap = async () => {
|
||||||
if (!mapStore.mapId) return
|
if (!mapStore.mapId) return
|
||||||
const loadedMap = await mapStorage.get(mapStore.mapId)
|
mapObject.value = await mapStorage.get(mapStore.mapId)
|
||||||
mapObject.value = loadedMap
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Watch for mapId changes and load map when it's available
|
// Watch for mapId changes and load map when it's available
|
||||||
|
Loading…
x
Reference in New Issue
Block a user