1
0
forked from noxious/client

Fixed modal fullscreen icons, made types compatible with server changes made for #174, npm update, npm run format, minor improvements

This commit is contained in:
2024-11-13 13:22:20 +01:00
parent 48fef2313b
commit 1888521762
11 changed files with 192 additions and 198 deletions

View File

@ -48,7 +48,7 @@ export function useGamePointerHandlers(scene: Phaser.Scene, layer: Phaser.Tilema
if (distance <= dragThreshold) {
const pointerTile = getTile(layer, pointer.worldX, pointer.worldY)
if (pointerTile) {
gameStore.connection?.emit('character:initMove', {
gameStore.connection?.emit('character:move', {
positionX: pointerTile.x,
positionY: pointerTile.y
})