Removed emit
This commit is contained in:
@ -38,9 +38,6 @@ export default class CharacterConnectEvent {
|
||||
|
||||
this.socket.characterId = character.id
|
||||
this.socket.emit('character:connect', character)
|
||||
|
||||
// Optionally notify other players or perform additional connection logic
|
||||
this.io.emit('character:joined', { characterId: character.id })
|
||||
} catch (error) {
|
||||
this.handleError('Failed to connect character', error)
|
||||
}
|
||||
|
Reference in New Issue
Block a user