From 393afe0bfafeb2fd51ab4629675be4f1f8ad78c5 Mon Sep 17 00:00:00 2001 From: zhl Date: Wed, 9 Dec 2020 14:00:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=8D=A1=E7=89=87=E5=90=8E?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BB=B6=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/rooms/commands/SelectPetCommand.ts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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