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

Rebalance, again

This commit is contained in:
tobspr
2020-09-29 11:14:27 +02:00
parent db6db7caca
commit e93b475f72
4 changed files with 14 additions and 6 deletions

View File

@@ -29,7 +29,10 @@ export class HUDWiresOverlay extends BaseHUDPart {
*/
switchLayers() {
if (this.root.currentLayer === "regular") {
if (this.root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_wires_painter_and_levers)) {
if (
this.root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_wires_painter_and_levers) ||
(G_IS_DEV && globalConfig.debug.allBuildingsUnlocked)
) {
this.root.currentLayer = "wires";
}
} else {