This commit is contained in:
Anuken
2022-10-15 18:02:14 -04:00
parent b0713721c0
commit 431dc4fe75
2 changed files with 4 additions and 1 deletions

View File

@@ -346,6 +346,9 @@ public class Logic implements ApplicationListener{
//disable attack mode
state.rules.attackMode = false;
//map is over, no more world processor objective stuff
state.rules.disableWorldProcessors = true;
//save, just in case
if(!headless && !net.client()){
control.saves.saveSector(state.rules.sector);

View File

@@ -215,7 +215,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
//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()){
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);
}
}