From c1b5f09d42409ba586e657984fb6746e252b72bd Mon Sep 17 00:00:00 2001 From: Mashy Date: Tue, 30 Jul 2019 17:55:16 +1000 Subject: [PATCH] fix absorb, purge, electrocute, end of game bugs --- client/src/components/skill.btn.jsx | 2 +- client/src/components/targeting.arrows.jsx | 1 + server/src/net.rs | 2 +- server/src/skill.rs | 8 ++++---- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/client/src/components/skill.btn.jsx b/client/src/components/skill.btn.jsx index 95eeddb6..80fcde36 100644 --- a/client/src/components/skill.btn.jsx +++ b/client/src/components/skill.btn.jsx @@ -38,7 +38,7 @@ function Skill(props) { const s = construct.skills[i]; const ko = construct.green_life.value === 0 ? 'ko' : ''; - if (!s) { + if (!s || !game) { return (