From 60a67f7afc44307253da97274062ce7575299483 Mon Sep 17 00:00:00 2001 From: Zaxiure Date: Thu, 19 Sep 2024 01:35:16 +0200 Subject: [PATCH] Continues asset loading --- src/composables/usePointerHandlers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/usePointerHandlers.ts b/src/composables/usePointerHandlers.ts index 1edda26..3e67772 100644 --- a/src/composables/usePointerHandlers.ts +++ b/src/composables/usePointerHandlers.ts @@ -11,7 +11,7 @@ export function usePointerHandlers(scene: Phaser.Scene, layer: Phaser.Tilemaps.T const gameHandlers = useGamePointerHandlers(scene, layer, waypoint, camera, isDragging) const zoneEditorHandlers = useZoneEditorPointerHandlers(scene, layer, waypoint, camera, isDragging) - let currentHandlers = computed(() => (zoneEditorStore.active ? zoneEditorHandlers : gameHandlers)) + const currentHandlers = computed(() => (zoneEditorStore.active ? zoneEditorHandlers : gameHandlers)) const setupPointerHandlers = () => { currentHandlers.value.setupPointerHandlers()