Bug fix for zoneEditor store, #109 : When zone tiles are updated and you switch back to the game, these aren't instantly visible, npm update

This commit is contained in:
2024-09-15 02:36:24 +02:00
parent 6e6c6f9b9e
commit 4be606778c
3 changed files with 5 additions and 5 deletions

View File

@ -59,6 +59,7 @@ watch(
onBeforeMount(() => {})
onBeforeUnmount(() => {
zoneStore.reset()
gameStore.connection?.off('zone:teleport')
gameStore.connection?.off('zone:character:join')
gameStore.connection?.off('zone:character:leave')