From a65f7e27da14c0757dfad6780e75dd39083f22a7 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sat, 20 Apr 2019 19:45:50 -0500 Subject: [PATCH] fix: don't clear last damage list --- common/combat/vulnerable.trait.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/combat/vulnerable.trait.js b/common/combat/vulnerable.trait.js index 19d6e86..e43d8c5 100644 --- a/common/combat/vulnerable.trait.js +++ b/common/combat/vulnerable.trait.js @@ -286,9 +286,6 @@ export class Vulnerable extends Trait { const {context, actions} = this.tookDamageActions[i]; actions.tick(context, elapsed); } - if (this.state.get('damageList').size > 0) { - this.state = this.state.set('damageList', I.Map()); - } if (Object.keys(this.damageList).length > 0) { this.state = this.state.set('damageList', I.Map(this.damageList)); this.isDirty = true;