diff --git a/src/rooms/commands/SelectPetCommand.ts b/src/rooms/commands/SelectPetCommand.ts index 1c815ec..07dad64 100644 --- a/src/rooms/commands/SelectPetCommand.ts +++ b/src/rooms/commands/SelectPetCommand.ts @@ -19,7 +19,7 @@ export class SelectPetCommand extends Command { execute({client, cardId, playerId, pos, effCards} = this.payload) { - let sessionId = this.state.currentTurn; + let sessionId = client.sessionId; let player = this.state.players.get(sessionId); let ap = 0; let moreAp = 0;