Unlock necessary blocks before landing

This commit is contained in:
Anuken
2022-01-23 15:28:12 -05:00
parent b281f29f01
commit 5a2d69278b
4 changed files with 10 additions and 0 deletions

View File

@@ -1137,6 +1137,8 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
//TODO animation
//schematic selection and cost handled by listener
listener.get(sector);
//unlock right before launch
sector.planet.unlockedOnLand.each(UnlockableContent::unlock);
control.playSector(sector);
}else{
//sector should have base here