Converted more events
This commit is contained in:
@ -56,7 +56,7 @@ class TeleportService {
|
||||
}
|
||||
|
||||
// Update character position and map
|
||||
await mapCharacter.character.setPositionX(targetX).setPositionY(targetY).setRotation(rotation).setMap(targetMap.getMap()).update()
|
||||
await mapCharacter.character.setPositionX(targetX).setPositionY(targetY).setRotation(rotation).setMap(targetMap.getMap()).save()
|
||||
|
||||
// Join new map
|
||||
socket.join(targetMapId)
|
||||
|
Reference in New Issue
Block a user