chore: opt

This commit is contained in:
cha0s 2024-10-21 02:41:37 -05:00
parent f522c61307
commit 70cc56c7b6

View File

@ -8,9 +8,10 @@ export default function*({ecs, subject}) {
Interactive.interacting = false;
const specs = [];
const json = ecs.readJson('/resources/tomato/tomato.entity.json');
for (let i = 0; i < 10; ++i) {
specs.push({
...ecs.readJson('/resources/tomato/tomato.entity.json'),
...json,
Position: {x: Position.x, y: Position.y},
});
}