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