1
0

Fix #34 -- player was being used instead of tmp

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2022-02-26 15:00:50 -08:00
parent 1ca27a51f3
commit c6ad706f0c

View File

@ -37,7 +37,7 @@ const Winner = ({table, color}) => {
continue; continue;
} }
let line = <><PlayerColor color={key}/> {getPlayerName(table.game.sessions, key)} finished with {tmp.points} victory points. let line = <><PlayerColor color={key}/> {getPlayerName(table.game.sessions, key)} finished with {tmp.points} victory points.
They had <b>{player.potential}</b> unplayed Victory Point card(s).</> They had <b>{tmp.potential}</b> unplayed Victory Point card(s).</>
description = <>{description}<p>{line}</p></>; description = <>{description}<p>{line}</p></>;
} }