Add port-specific shore excursions and deck stack

This commit is contained in:
josh
2026-11-28 17:19:25 -05:00
parent c570a64840
commit a54f66cec9
28 changed files with 1270 additions and 31 deletions

View File

@@ -60,6 +60,7 @@ namespace Soundings
if (!CanRestoreFleetPassages(saved.Company, saved.Passages))
return false;
ResetShorePlanning();
if (harbor.PortCinematicActive)
harbor.EndPortCinematic();
if (underway != null)
@@ -142,7 +143,8 @@ namespace Soundings
private void AutosaveCareer()
{
if (!title && !paused && fleetPassages.Count > 0 && Time.unscaledTime >= nextCareerAutosave)
if (!title && !paused && Time.unscaledTime >= nextCareerAutosave && company != null
&& (fleetPassages.Count > 0 || company.Fleet.Exists(ship => ship.ShoreCall != null)))
Save();
}