From 1ee8f206de009b763dedd0a9c66dcd85cb281e95 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 7 Jul 2024 17:26:29 -0500 Subject: [PATCH] refactor: less overhead --- app/ecs-components/inventory.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/ecs-components/inventory.js b/app/ecs-components/inventory.js index e046a1f..93cdaac 100644 --- a/app/ecs-components/inventory.js +++ b/app/ecs-components/inventory.js @@ -81,7 +81,6 @@ class ItemProxy { } if (this.scripts.projectionCheckInstance) { this.scripts.projectionCheckInstance.context.ecs = this.Component.ecs; - this.scripts.projectionCheckInstance.context.layer = layer; this.scripts.projectionCheckInstance.context.projected = projected; return this.scripts.projectionCheckInstance.evaluateSync(); }