Delete galaxy zone blueprint cache
This commit is contained in:
parent
d52fa4894a
commit
3eab07c9dc
4 changed files with 5 additions and 3 deletions
|
|
@ -1759,7 +1759,7 @@ public class ActionGameManager : MonoBehaviour
|
|||
|
||||
if (galaxyZone.Contents == null)
|
||||
{
|
||||
galaxyZone.RuntimeBlueprint ??= ZoneGenerator.GenerateZone(
|
||||
var runtimeBlueprint = ZoneGenerator.GenerateZone(
|
||||
ItemManager,
|
||||
RuntimeCatalog,
|
||||
Settings.ZoneSettings,
|
||||
|
|
@ -1767,7 +1767,7 @@ public class ActionGameManager : MonoBehaviour
|
|||
galaxyZone,
|
||||
IsTutorial
|
||||
);
|
||||
galaxyZone.Contents = new Zone(ItemManager, Settings.PlanetSettings, galaxyZone.RuntimeBlueprint, galaxyZone, CurrentGalaxy);
|
||||
galaxyZone.Contents = new Zone(ItemManager, Settings.PlanetSettings, runtimeBlueprint, galaxyZone, CurrentGalaxy);
|
||||
}
|
||||
Zone = galaxyZone.Contents;
|
||||
PlayMusic(MusicType.Overworld);
|
||||
|
|
|
|||
|
|
@ -604,7 +604,6 @@ public class GalaxyZone
|
|||
public Faction[] Factions;
|
||||
public Faction Owner;
|
||||
public Zone Contents;
|
||||
public RuntimeZoneBlueprint RuntimeBlueprint;
|
||||
public bool NamedZone;
|
||||
public List<LocationStory> Locations = new List<LocationStory>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue