From ab3973907487f6195270382e958b318ea8f2044c Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 10 Jun 2020 09:19:14 -0700 Subject: [PATCH] Empathy: Display player scores at the main screen of the game Leaving each off entirely if unset or 0. --- empathy/empathy.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/empathy/empathy.jsx b/empathy/empathy.jsx index 54d6c26..21b766a 100644 --- a/empathy/empathy.jsx +++ b/empathy/empathy.jsx @@ -127,10 +127,12 @@ const PlayerInfo = React.memo(props => {
Players: {props.player.name} + {props.player.score > 0 ? ` (${props.player.score})` : ""} {props.other_players.map(other => ( {", "} {other.name} + {other.score > 0 ? ` (${other.score})` : ""} ))}
-- 2.43.0