Persist run generation seed in typed state
This commit is contained in:
parent
39ebe5b931
commit
9ca3de2ed6
12 changed files with 53 additions and 13 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue