fix: projection for non-usable

This commit is contained in:
cha0s 2024-06-28 13:10:27 -05:00
parent b907819c2f
commit f93a9d020c

View File

@ -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;