Char. join fix
This commit is contained in:
parent
d2c52ea0c0
commit
10dc9df8a9
@ -20,7 +20,7 @@ interface IResponse {
|
||||
* @param io
|
||||
*/
|
||||
export default function (socket: TSocket, io: Server) {
|
||||
socket.on('zone:character:join', async (data: IPayload, callback: (response: IResponse) => void) => {
|
||||
socket.on('zone:character:join', async (callback: (response: IResponse) => void) => {
|
||||
try {
|
||||
if (!socket.characterId) return
|
||||
const character = CharacterManager.getCharacterFromSocket(socket);
|
||||
|
Loading…
x
Reference in New Issue
Block a user