chore: lint

This commit is contained in:
cha0s 2023-11-26 12:30:25 -06:00
parent bacf75cef5
commit 821a9ac899

View File

@ -18,7 +18,9 @@ export default (flecks) => class Vulnerable extends Trait {
harm.from = this.entity.list
? await Promise.race([
this.entity.list.waitForEntity(harm.from),
new Promise((resolve) => setTimeout(resolve, 100)),
new Promise((resolve) => {
setTimeout(resolve, 100);
}),
])
: undefined;
this.interactions(this.entity, harm);