Persist run generation seed in typed state

This commit is contained in:
Meta Vens 2026-06-14 15:12:38 +01:00
commit 9ca3de2ed6
12 changed files with 53 additions and 13 deletions

View file

@ -538,6 +538,7 @@ public class ActionGameManager : MonoBehaviour
ExitZoneIndex = ZoneIndex(CurrentGalaxy?.Exit),
CurrentZoneIndex = ZoneIndex(Zone?.GalaxyZone),
CurrentZoneEntityIndex = Zone?.Entities?.IndexOf(CurrentEntity) ?? -1,
GenerationSeed = CurrentGalaxy?.GenerationSeed ?? 0,
DiscoveredZoneIndices = CurrentGalaxy?.DiscoveredZones
.Select(ZoneIndex)
.Where(index => index >= 0)