Better anims
This commit is contained in:
@ -93,7 +93,7 @@ async function moveAlongPath(socket: TSocket, io: Server, path: Node[], grid: nu
|
||||
io.in(socket.character.zoneId.toString()).emit('character:moved', socket.character)
|
||||
|
||||
// Add a small delay between moves to avoid overwhelming the server
|
||||
await new Promise((resolve) => setTimeout(resolve, 250))
|
||||
await new Promise((resolve) => setTimeout(resolve, 150))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user