forked from noxious/client
Renamed get to getById, map improvement
This commit is contained in:
@ -103,7 +103,7 @@ async function handleUpdate() {
|
||||
onMounted(async () => {
|
||||
if (!props.placedMapObject.mapObject) return
|
||||
|
||||
mapObject.value = await mapObjectStorage.get(props.placedMapObject.mapObject as string)
|
||||
mapObject.value = await mapObjectStorage.getById(props.placedMapObject.mapObject as string)
|
||||
if (!mapObject.value) return
|
||||
|
||||
mapObjectName.value = mapObject.value.name
|
||||
|
Reference in New Issue
Block a user