fix: proper dirtyness :>

This commit is contained in:
cha0s 2019-10-16 01:12:32 -05:00
parent 86f1fb0b11
commit b07803a308

View File

@ -160,6 +160,7 @@ export class Vulnerable extends Trait {
tookDamage: (damage) => { tookDamage: (damage) => {
if (AVOCADO_SERVER) { if (AVOCADO_SERVER) {
this.damages.push(damage); this.damages.push(damage);
this.setDirty();
} }
}, },