mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
last minute fix
This commit is contained in:
parent
7bbc72cc7f
commit
54e4f45bcd
@ -20,8 +20,11 @@ export class FilterSystem extends GameSystemWithFilter {
|
|||||||
|
|
||||||
const requiredProgress = 1 - progress;
|
const requiredProgress = 1 - progress;
|
||||||
|
|
||||||
for (let i = 0; i < this.allEntities.length; ++i) {
|
for (
|
||||||
const entity = this.allEntities[i];
|
let arr = this.getUpdateEntitiesArray(), i = arr.length - 1, entity;
|
||||||
|
(entity = arr[i]) && i >= 0;
|
||||||
|
--i
|
||||||
|
) {
|
||||||
const filterComp = entity.components.Filter;
|
const filterComp = entity.components.Filter;
|
||||||
const ejectorComp = entity.components.ItemEjector;
|
const ejectorComp = entity.components.ItemEjector;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user