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;