fix linter issues
This commit is contained in:
parent
1b2c67a4d7
commit
6230bb1657
@ -287,7 +287,9 @@ export class SocketManager {
|
|||||||
this.onClientLeave(thing, newZone, listener),
|
this.onClientLeave(thing, newZone, listener),
|
||||||
(emoteEventMessage: EmoteEventMessage, listener: ZoneSocket) =>
|
(emoteEventMessage: EmoteEventMessage, listener: ZoneSocket) =>
|
||||||
this.onEmote(emoteEventMessage, listener),
|
this.onEmote(emoteEventMessage, listener),
|
||||||
(groupId: number, listener: ZoneSocket) => this.onLockGroup(groupId, listener, roomPromise),
|
(groupId: number, listener: ZoneSocket) => {
|
||||||
|
void this.onLockGroup(groupId, listener, roomPromise);
|
||||||
|
},
|
||||||
(playerDetailsUpdatedMessage: PlayerDetailsUpdatedMessage, listener: ZoneSocket) =>
|
(playerDetailsUpdatedMessage: PlayerDetailsUpdatedMessage, listener: ZoneSocket) =>
|
||||||
this.onPlayerDetailsUpdated(playerDetailsUpdatedMessage, listener)
|
this.onPlayerDetailsUpdated(playerDetailsUpdatedMessage, listener)
|
||||||
)
|
)
|
||||||
@ -391,7 +393,11 @@ export class SocketManager {
|
|||||||
emitZoneMessage(subMessage, client);
|
emitZoneMessage(subMessage, client);
|
||||||
}
|
}
|
||||||
|
|
||||||
private async onLockGroup(groupId: number, client: ZoneSocket, roomPromise: PromiseLike<GameRoom> | undefined) {
|
private async onLockGroup(
|
||||||
|
groupId: number,
|
||||||
|
client: ZoneSocket,
|
||||||
|
roomPromise: PromiseLike<GameRoom> | undefined
|
||||||
|
): Promise<void> {
|
||||||
if (!roomPromise) {
|
if (!roomPromise) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user