We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cabbe8 commit e505b74Copy full SHA for e505b74
benches/apps/revade/src/traits/avoidance.ts
@@ -1,6 +1,6 @@
1
import { type Entity, trait } from 'koota';
2
3
export const Avoidance = trait({
4
- neighbors: [] as Entity[],
+ neighbors: () => [] as Entity[],
5
range: 1.5,
6
});
0 commit comments