Teleport fix

This commit is contained in:
2025-01-14 02:18:53 +01:00
parent 74f5214ca3
commit 0ba79c2299
2 changed files with 21 additions and 8 deletions

View File

@ -55,7 +55,7 @@ export default class CharacterMove extends BaseEvent {
if (mapEventTile?.type === 'BLOCK') break
if (mapEventTile?.type === 'TELEPORT' && mapEventTile.teleport) {
await this.handleMapEventTile(mapEventTile as MapEventTileWithTeleport)
break
return
}
// Update position first