75
This commit is contained in:
parent
31a91c3f9f
commit
b3c9e3ca3d
@ -42,7 +42,7 @@ export function useGameControlsComposable(scene: Phaser.Scene, layer: Phaser.Til
|
||||
|
||||
// Start movement loop if not already running
|
||||
if (!moveInterval) {
|
||||
moveInterval = window.setInterval(moveCharacter, 100) // Increased interval to match server throttle `MOVEMENT_THROTTLE`
|
||||
moveInterval = window.setInterval(moveCharacter, 75) // Increased interval to match server throttle `MOVEMENT_THROTTLE`
|
||||
moveCharacter() // Move immediately on first press
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user