forked from noxious/client
Renamed get to getById, map improvement
This commit is contained in:
@ -22,7 +22,7 @@ const props = defineProps<{
|
||||
onMounted(async () => {
|
||||
if (!mapStore.mapId) return
|
||||
|
||||
const map = await mapStorage.get(mapStore.mapId)
|
||||
const map = await mapStorage.getById(mapStore.mapId)
|
||||
if (!map) return
|
||||
|
||||
await loadTileTexturesFromMapTileArray(mapStore.mapId, scene)
|
||||
|
Reference in New Issue
Block a user