fix: projection for non-usable
This commit is contained in:
parent
b907819c2f
commit
f93a9d020c
|
@ -64,7 +64,7 @@ export default class Inventory extends Component {
|
||||||
const layer = TileLayers.layer(0);
|
const layer = TileLayers.layer(0);
|
||||||
const {projection} = this.json;
|
const {projection} = this.json;
|
||||||
if (!projection) {
|
if (!projection) {
|
||||||
return [];
|
return undefined;
|
||||||
}
|
}
|
||||||
let startX = position.x;
|
let startX = position.x;
|
||||||
let startY = position.y;
|
let startY = position.y;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user