diff --git a/app/react/components/dom/damages.jsx b/app/react/components/dom/damages.jsx index 13bde85..ae30e3e 100644 --- a/app/react/components/dom/damages.jsx +++ b/app/react/components/dom/damages.jsx @@ -28,7 +28,6 @@ function damageHue(type) { class Damage { elapsed = 0; - hue = [0, 30]; offsetX = 0; offsetY = 0; step = 0; @@ -111,7 +110,7 @@ class Damage { easeInOutExpo( Math.abs((this.elapsed % 0.3) - 0.15) / 0.15, this.hueStart, - this.hueEnd, + this.hueEnd - this.hueStart, 1, ), );