chore: opt
This commit is contained in:
parent
9b9b06f1dc
commit
f522c61307
|
@ -206,6 +206,10 @@ export default class Ecs {
|
||||||
const creating = {};
|
const creating = {};
|
||||||
const extendedSpecificsList = [];
|
const extendedSpecificsList = [];
|
||||||
for (let i = 0; i < specificsList.length; i++) {
|
for (let i = 0; i < specificsList.length; i++) {
|
||||||
|
if (!specificsList[i][1].$$extends) {
|
||||||
|
extendedSpecificsList.push(specificsList[i]);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
const [entityId, rawComponents] = specificsList[i];
|
const [entityId, rawComponents] = specificsList[i];
|
||||||
let {
|
let {
|
||||||
$$extends,
|
$$extends,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user