diff --git a/client/src/components/game.component.jsx b/client/src/components/game.component.jsx index 329ce6ff..ebe7c82d 100644 --- a/client/src/components/game.component.jsx +++ b/client/src/components/game.component.jsx @@ -139,7 +139,7 @@ function GamePanel(props) { const skills = range(0, 3).map(i => Skill(cryp, i)); - const stats = [STATS.green_life, STATS.redShield, STATS.blueShield].map((s, j) => ( + const stats = [STATS.greenLife, STATS.redLife, STATS.blueLife].map((s, j) => (
{s.svg(`stat-icon ${s.colour}`)}
{cryp[s.stat].value} / {cryp[s.stat].max}
@@ -187,7 +187,7 @@ function GamePanel(props) { } function OpponentCryp(cryp, i) { - const stats = [STATS.green_life, STATS.redShield, STATS.blueShield].map((s, j) => ( + const stats = [STATS.greenLife, STATS.redLife, STATS.blueLife].map((s, j) => (
{s.svg(`stat-icon ${s.colour}`)}
{cryp[s.stat].value} / {cryp[s.stat].max}