Skip to content

Commit

Permalink
fixed silly meter status again
Browse files Browse the repository at this point in the history
  • Loading branch information
darkhappy committed Mar 4, 2020
1 parent 119b607 commit 052b212
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/SillyMeter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ class SillyMeter extends Component {
return 0;
}

// if it's inactive, return 0
if (sillyData.state === "Inactive") {
return 0;
}

// get the health
const hp = sillyData.hp;

Expand Down

0 comments on commit 052b212

Please sign in to comment.