Skip to content

Commit

Permalink
fix display of log with phased game (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
philihp authored and nicolodavis committed Mar 9, 2018
1 parent c6a9bdf commit c50d5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/log/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class GameLog extends React.Component {
const item = state.log[i];
if (
(item.type == Actions.GAME_EVENT && item.payload.type == 'endTurn') ||
item.type == 'endTurn'
['endTurn', 'endPhase'].includes(item.type)
) {
turnToLogIndex[turns.length] = i;
turns.push(currentTurn);
Expand Down

0 comments on commit c50d5ea

Please sign in to comment.