Load assets tp command (need to make a universal method, this sucks)
This commit is contained in:
@ -65,6 +65,8 @@ export default class TeleportCommandEvent {
|
||||
// Update character in CharacterManager
|
||||
CharacterManager.initCharacter(this.socket.character)
|
||||
|
||||
io.to(socket.id).emit('zone:character:load_assets', zone.id);
|
||||
|
||||
this.socket.emit('zone:teleport', {
|
||||
zone,
|
||||
characters: CharacterManager.getCharactersInZone(zone)
|
||||
|
Reference in New Issue
Block a user