From f93a9d020c9dbc9a7c205b46f2b5bf2716ed6085 Mon Sep 17 00:00:00 2001 From: cha0s Date: Fri, 28 Jun 2024 13:10:27 -0500 Subject: [PATCH] fix: projection for non-usable --- app/ecs-components/inventory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ecs-components/inventory.js b/app/ecs-components/inventory.js index 87fd0da..f3a58ba 100644 --- a/app/ecs-components/inventory.js +++ b/app/ecs-components/inventory.js @@ -64,7 +64,7 @@ export default class Inventory extends Component { const layer = TileLayers.layer(0); const {projection} = this.json; if (!projection) { - return []; + return undefined; } let startX = position.x; let startY = position.y;