forked from noxious/server
Removed emit
This commit is contained in:
parent
ffc07b7403
commit
fee4277b4f
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user