fix: no default filter for diff
This commit is contained in:
parent
4c5fa9e6ef
commit
10267f2146
|
@ -230,7 +230,7 @@ export default class Ecs {
|
||||||
for (const componentName in components) {
|
for (const componentName in components) {
|
||||||
filtered[componentName] = false === components[componentName]
|
filtered[componentName] = false === components[componentName]
|
||||||
? false
|
? false
|
||||||
: this.Components[componentName].constructor.filterDefaults(components[componentName]);
|
: components[componentName];
|
||||||
}
|
}
|
||||||
this.diff[entityId] = filtered;
|
this.diff[entityId] = filtered;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user