Fixed #7725
This commit is contained in:
@@ -346,6 +346,9 @@ public class Logic implements ApplicationListener{
|
|||||||
//disable attack mode
|
//disable attack mode
|
||||||
state.rules.attackMode = false;
|
state.rules.attackMode = false;
|
||||||
|
|
||||||
|
//map is over, no more world processor objective stuff
|
||||||
|
state.rules.disableWorldProcessors = true;
|
||||||
|
|
||||||
//save, just in case
|
//save, just in case
|
||||||
if(!headless && !net.client()){
|
if(!headless && !net.client()){
|
||||||
control.saves.saveSector(state.rules.sector);
|
control.saves.saveSector(state.rules.sector);
|
||||||
|
|||||||
@@ -215,7 +215,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
|||||||
|
|
||||||
//unlock defaults for older campaign saves (TODO move? where to?)
|
//unlock defaults for older campaign saves (TODO move? where to?)
|
||||||
if(content.planets().contains(p -> p.sectors.contains(s -> s.hasBase())) || Blocks.scatter.unlocked() || Blocks.router.unlocked()){
|
if(content.planets().contains(p -> p.sectors.contains(s -> s.hasBase())) || Blocks.scatter.unlocked() || Blocks.router.unlocked()){
|
||||||
Seq.with(Blocks.junction, Blocks.mechanicalDrill, Blocks.duo, Items.copper, Items.lead).each(UnlockableContent::quietUnlock);
|
Seq.with(Blocks.junction, Blocks.mechanicalDrill, Blocks.conveyor, Blocks.duo, Items.copper, Items.lead).each(UnlockableContent::quietUnlock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user