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:
parent
c1c478e8d6
commit
67b39fad50
@ -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]
|
||||
: []),
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user