Removed redundant const

This commit is contained in:
Colin Kallemein 2025-01-19 00:06:36 +01:00
parent b86d9dd4ce
commit 5c68b02fff

View File

@ -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