TP test
This commit is contained in:
parent
374ccfe4a6
commit
4c61825992
@ -94,6 +94,8 @@ async function handleTeleport(socket: TSocket, io: Server, character: ExtendedCh
|
||||
socket.leave(character.zoneId.toString());
|
||||
socket.join(teleport.toZoneId.toString());
|
||||
|
||||
socket.emit('zone:teleport', { zone, characters: ZoneManager.getCharactersInZone(zone.id) });
|
||||
|
||||
await updateCharacterPosition(
|
||||
character,
|
||||
{ x: teleport.toPositionX, y: teleport.toPositionY },
|
||||
|
Loading…
x
Reference in New Issue
Block a user