chore: lint
This commit is contained in:
parent
bacf75cef5
commit
821a9ac899
|
@ -18,7 +18,9 @@ export default (flecks) => class Vulnerable extends Trait {
|
||||||
harm.from = this.entity.list
|
harm.from = this.entity.list
|
||||||
? await Promise.race([
|
? await Promise.race([
|
||||||
this.entity.list.waitForEntity(harm.from),
|
this.entity.list.waitForEntity(harm.from),
|
||||||
new Promise((resolve) => setTimeout(resolve, 100)),
|
new Promise((resolve) => {
|
||||||
|
setTimeout(resolve, 100);
|
||||||
|
}),
|
||||||
])
|
])
|
||||||
: undefined;
|
: undefined;
|
||||||
this.interactions(this.entity, harm);
|
this.interactions(this.entity, harm);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user