fix: no default filter for diff

This commit is contained in:
cha0s 2024-06-21 05:59:51 -05:00
parent 4c5fa9e6ef
commit 10267f2146

View File

@ -230,7 +230,7 @@ export default class Ecs {
for (const componentName in components) {
filtered[componentName] = false === components[componentName]
? false
: this.Components[componentName].constructor.filterDefaults(components[componentName]);
: components[componentName];
}
this.diff[entityId] = filtered;
}