chore: opt

This commit is contained in:
cha0s 2024-10-21 02:41:31 -05:00
parent 9b9b06f1dc
commit f522c61307

View File

@ -206,6 +206,10 @@ export default class Ecs {
const creating = {};
const extendedSpecificsList = [];
for (let i = 0; i < specificsList.length; i++) {
if (!specificsList[i][1].$$extends) {
extendedSpecificsList.push(specificsList[i]);
continue;
}
const [entityId, rawComponents] = specificsList[i];
let {
$$extends,