chore: opt
This commit is contained in:
parent
f522c61307
commit
70cc56c7b6
|
@ -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},
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user