mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-02-12 02:49:20 +00:00
Fix to producer
Current hiddenBuildings array doesn't allow you to have producer if you are dev on regular gamemode. But with adding this little check, we can fix it :)
This commit is contained in:
parent
a1c6a99df0
commit
c1c478e8d6
@ -585,12 +585,10 @@ export class RegularGameMode extends GameMode {
|
||||
}
|
||||
|
||||
/** @type {(typeof MetaBuilding)[]} */
|
||||
this.hiddenBuildings = [
|
||||
MetaConstantProducerBuilding,
|
||||
MetaGoalAcceptorBuilding,
|
||||
MetaBlockBuilding,
|
||||
MetaItemProducerBuilding,
|
||||
];
|
||||
this.hiddenBuildings = [MetaConstantProducerBuilding, MetaGoalAcceptorBuilding, MetaBlockBuilding];
|
||||
if (!G_IS_DEV) {
|
||||
this.hiddenBuildings.push(MetaItemProducerBuilding);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user