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

Forgot about sandbox mode hehe 🤣 Should be fixed now

This commit is contained in:
TcePrepK 2021-07-14 23:00:32 +03:00
parent c1c478e8d6
commit 67b39fad50

View File

@ -585,10 +585,15 @@ export class RegularGameMode extends GameMode {
}
/** @type {(typeof MetaBuilding)[]} */
this.hiddenBuildings = [MetaConstantProducerBuilding, MetaGoalAcceptorBuilding, MetaBlockBuilding];
if (!G_IS_DEV) {
this.hiddenBuildings.push(MetaItemProducerBuilding);
}
this.hiddenBuildings = [
MetaConstantProducerBuilding,
MetaGoalAcceptorBuilding,
MetaBlockBuilding,
// @ts-ignore
...(!queryParamOptions.sandboxMode && !window.sandboxMode && !G_IS_DEV
? [MetaItemProducerBuilding]
: []),
];
}
/**