From a872d9ae5f540cf1835b14f5cb988980cc00fd51 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 21 Jul 2024 04:00:55 -0500 Subject: [PATCH] refactor: separate concerns --- app/ecs/component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ecs/component.js b/app/ecs/component.js index e6f9926..96275ca 100644 --- a/app/ecs/component.js +++ b/app/ecs/component.js @@ -153,7 +153,7 @@ export default class Component { return Component.constructor.filterDefaults(this); } toJSON() { - return this.toNet(); + return Component.constructor.filterDefaults(this); } }; const properties = {};