1
0

Only show VPs if you have some in the Winner

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2022-03-08 12:12:45 -08:00
parent b094229675
commit 791369c026

View File

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