From 2883ab491457d08e768957046844f8d2cc1ce53e Mon Sep 17 00:00:00 2001 From: Philihp Busby Date: Thu, 8 Mar 2018 23:42:36 -0800 Subject: [PATCH] fix display of log with phased game (#135) --- src/client/log/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/log/log.js b/src/client/log/log.js index 20bb7356f..769fb92f2 100644 --- a/src/client/log/log.js +++ b/src/client/log/log.js @@ -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);