Work for teleports

This commit is contained in:
2024-08-23 20:15:58 +02:00
parent 43d5e0614e
commit ad096d4ce3
13 changed files with 303 additions and 168 deletions

View File

@ -29,7 +29,7 @@
</template>
<script setup lang="ts">
import { ref, onMounted } from 'vue'
import { onMounted } from 'vue'
import { useGameStore } from '@/stores/game'
import Modal from '@/components/utilities/Modal.vue'
import type { Zone } from '@/types'
@ -50,7 +50,6 @@ function fetchZones() {
}
function loadZone(id: number) {
console.log('loadZone', id)
gameStore.connection?.emit('gm:zone_editor:zone:request', { zoneId: id }, (response: Zone) => {
zoneEditorStore.setZone(response)
})