mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Add a setting to disable picking the miner when on a resource patch (#649)
* Add a setting to disable picking the miner when on a resource patch * Fix that one space :D Linter go brrrr Co-authored-by: dengr1065 <dengr1065@gmail.com>
This commit is contained in:
@@ -327,7 +327,7 @@ export class HUDBuildingPlacerLogic extends BaseHUDPart {
|
||||
const tileBelow = this.root.map.getLowerLayerContentXY(tile.x, tile.y);
|
||||
|
||||
// Check if there's a shape or color item below, if so select the miner
|
||||
if (tileBelow) {
|
||||
if (tileBelow && this.root.app.settings.getAllSettings().pickMinerOnPatch) {
|
||||
this.currentMetaBuilding.set(gMetaBuildingRegistry.findByClass(MetaMinerBuilding));
|
||||
|
||||
// Select chained miner if available, since thats always desired once unlocked
|
||||
|
||||
Reference in New Issue
Block a user