Skip to content

Commit

Permalink
Correct binlog on attacker victory draw (#27)
Browse files Browse the repository at this point in the history
With thanks to @samualtnorman.
  • Loading branch information
Fayti1703 authored Dec 31, 2024
2 parents c293149 + dad6457 commit e4cbdb5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions BinaryMatrixEngine/GameExecution.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ public static OperationError ExecutePlayerAction(GameContext context, Player pla
new ResolvedActionSet(ActionType.DRAW, action.lane),
ImmutableList<CardMoveLog>.Empty
);
} else {
log = new ActionLog(
log.whoDidThis,
new ResolvedActionSet(ActionType.DRAW, action.lane),
CardMoveLog.SingleMove(drawnCard, log.whoDidThis)
);
}

log = new ActionLog(
log.whoDidThis,
new ResolvedActionSet(ActionType.DRAW, action.lane),
CardMoveLog.SingleMove(drawnCard, log.whoDidThis)
);
}
} break;
case ActionType.PLAY:
Expand Down

0 comments on commit e4cbdb5

Please sign in to comment.