diff --git a/src/rooms/commands/SelectPetCommand.ts b/src/rooms/commands/SelectPetCommand.ts index 1e439f4..d5ae8fb 100644 --- a/src/rooms/commands/SelectPetCommand.ts +++ b/src/rooms/commands/SelectPetCommand.ts @@ -14,7 +14,7 @@ export class SelectPetCommand extends Command { - execute({client, cardId, playerId, pos, effCards} = this.payload) { + async execute({client, cardId, playerId, pos, effCards} = this.payload) { let sessionId = client.sessionId; let player = this.state.players.get(sessionId); let ap = 0; @@ -74,12 +74,6 @@ export class SelectPetCommand extends Command