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