chore: tidy
This commit is contained in:
parent
0423c0dbe1
commit
46081203eb
|
@ -213,7 +213,7 @@ export default (latus) => class Vulnerable extends Trait {
|
|||
).forEach(async (interaction) => {
|
||||
if (interaction.script) {
|
||||
const script = await Script.load(interaction.script, {
|
||||
entity: this.entity,
|
||||
...this.entity.contextOrDefault,
|
||||
harm,
|
||||
});
|
||||
const promise = script.tickingPromise();
|
||||
|
@ -300,7 +300,7 @@ export default (latus) => class Vulnerable extends Trait {
|
|||
tookHarm: (harm) => {
|
||||
if ('client' !== process.env.SIDE) {
|
||||
this.#harms.push(harm);
|
||||
this.interactions(this.entity, harm, 'server');
|
||||
this.interactions(this.entity, harm);
|
||||
this.markAsDirty();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user