fix: proper dirtyness :>
This commit is contained in:
parent
86f1fb0b11
commit
b07803a308
|
@ -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();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user