forked from noxious/client
map bug fix
This commit is contained in:
parent
275dd95c69
commit
d010159989
@ -42,7 +42,7 @@ async function initialize() {
|
|||||||
await loadTileTexturesFromMapTileArray(mapStore.mapId, scene)
|
await loadTileTexturesFromMapTileArray(mapStore.mapId, scene)
|
||||||
|
|
||||||
tileMap.value = createTileMap(scene, map)
|
tileMap.value = createTileMap(scene, map)
|
||||||
tileMapLayer.value = createTileLayer(tileMap.value, unduplicateArray(map.tiles.flat()))
|
tileMapLayer.value = createTileLayer(tileMap.value, unduplicateArray(map.tiles))
|
||||||
}
|
}
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user