1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-02-24 08:49:20 +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)[]} */ /** @type {(typeof MetaBuilding)[]} */
this.hiddenBuildings = [MetaConstantProducerBuilding, MetaGoalAcceptorBuilding, MetaBlockBuilding]; this.hiddenBuildings = [
if (!G_IS_DEV) { MetaConstantProducerBuilding,
this.hiddenBuildings.push(MetaItemProducerBuilding); MetaGoalAcceptorBuilding,
} MetaBlockBuilding,
// @ts-ignore
...(!queryParamOptions.sandboxMode && !window.sandboxMode && !G_IS_DEV
? [MetaItemProducerBuilding]
: []),
];
} }
/** /**