mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Fix miner highlight
This commit is contained in:
@@ -45,6 +45,12 @@ export class HUDMinerHighlight extends BaseHUDPart {
|
||||
return;
|
||||
}
|
||||
|
||||
const lowerContents = this.root.map.getLowerLayerContentXY(hoveredTile.x, hoveredTile.y);
|
||||
if (!lowerContents) {
|
||||
// Not connected
|
||||
return;
|
||||
}
|
||||
|
||||
parameters.context.fillStyle = THEME.map.connectedMiners.overlay;
|
||||
|
||||
const connectedEntities = this.findConnectedMiners(contents);
|
||||
|
||||
Reference in New Issue
Block a user