From b07803a308f10a78568b389eb448c76a5943a017 Mon Sep 17 00:00:00 2001 From: cha0s Date: Wed, 16 Oct 2019 01:12:32 -0500 Subject: [PATCH] fix: proper dirtyness :> --- common/combat/vulnerable.trait.js | 1 + 1 file changed, 1 insertion(+) diff --git a/common/combat/vulnerable.trait.js b/common/combat/vulnerable.trait.js index 1388544..8cf6e95 100644 --- a/common/combat/vulnerable.trait.js +++ b/common/combat/vulnerable.trait.js @@ -160,6 +160,7 @@ export class Vulnerable extends Trait { tookDamage: (damage) => { if (AVOCADO_SERVER) { this.damages.push(damage); + this.setDirty(); } },