1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Allow toggling debug info and fix miners sometimes being incorrectly culled

This commit is contained in:
tobspr
2020-05-21 10:43:21 +02:00
parent 8760026893
commit c6228f8d32
4 changed files with 11 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ export class MinerSystem extends GameSystemWithFilter {
if (entity && entity.components.Miner) {
const staticComp = entity.components.StaticMapEntity;
if (!staticComp.shouldBeDrawn(parameters)) {
return;
continue;
}
const lowerLayerItem = this.root.map.getLowerLayerContentXY(