Fixed abandoning sectors not working

This commit is contained in:
Anuken
2025-09-07 14:22:55 -04:00
parent 94743b4ba6
commit 9f7ba9bb98
2 changed files with 9 additions and 1 deletions

View File

@@ -493,7 +493,9 @@ public class Control implements ApplicationListener, Loadable{
}
for(var build : previousBuildings){
build.updateProximity();
if(build.isValid()){
build.updateProximity();
}
}
//carry over all previous plans that don't already have the corresponding block at their position
@@ -504,6 +506,9 @@ public class Control implements ApplicationListener, Loadable{
}
}
});
//blocks placed after WorldLoadEvent didn't queue an update, so fix that.
renderer.minimap.updateAll();
}
}else{
state.set(State.playing);

View File

@@ -1122,7 +1122,10 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
}
});
}else{
sector.info.items.clear();
sector.info.damage = 1f;
sector.info.hasCore = false;
sector.info.production.clear();
sector.saveInfo();
}
updateSelected();