1
0
forked from noxious/server

#161: Set default value for createdAt field, store zone chats into database

This commit is contained in:
2024-11-14 20:45:37 +01:00
parent 3f8f8745eb
commit 460308d555
12 changed files with 109 additions and 29 deletions

View File

@ -31,7 +31,7 @@ export default class CharacterMove {
// If already moving, cancel current movement and wait for it to fully stop
if (zoneCharacter.isMoving) {
zoneCharacter.isMoving = false
await new Promise(resolve => setTimeout(resolve, 100))
await new Promise((resolve) => setTimeout(resolve, 100))
}
const path = await this.characterMoveService.calculatePath(zoneCharacter.character, positionX, positionY)