Remove Unity zone cache from galaxy model
This commit is contained in:
parent
c7c539e3b7
commit
73ea4ad5bb
2 changed files with 6 additions and 1 deletions
|
|
@ -8144,6 +8144,12 @@ static void RequireUnityObserverDoesNotTickLocalSimulation(string root)
|
|||
"Unity gameplay must not cache observed runtime zone context on the projected GalaxyZone model.");
|
||||
}
|
||||
|
||||
if (galaxy.Contains("public Zone Contents", StringComparison.Ordinal))
|
||||
{
|
||||
throw new InvalidOperationException(
|
||||
"Projected GalaxyZone must not own Unity runtime Zone contents; observed zone context belongs to the client lowerer.");
|
||||
}
|
||||
|
||||
var contextPrepRendererLoads = FindMethodScopedLineHits(
|
||||
actionGameManager,
|
||||
new[] { "LoadDaemonZoneView(", "BindToEntity(" })
|
||||
|
|
|
|||
|
|
@ -743,7 +743,6 @@ public class GalaxyZone
|
|||
public Dictionary<GalaxyZone, int> Distance;
|
||||
public Faction[] Factions;
|
||||
public Faction Owner;
|
||||
public Zone Contents;
|
||||
public bool NamedZone;
|
||||
public List<LocationStory> Locations = new List<LocationStory>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue