Hostility Fix + Story Work
Fixed various bugs caused by triggering wormhole animation multiple times Sector -> Galaxy Fixed bug in hostility system; deserialized entities' PresencePermitted was silently throwing an exception (due to Faction being null during initialization) and thus never updating in response to security level changes Worked a bit on story processing
This commit is contained in:
parent
710d17ff4c
commit
2f98904614
26 changed files with 301 additions and 255 deletions
|
|
@ -37,7 +37,7 @@ public class OrbitalEntity : Entity
|
|||
{
|
||||
if (SecurityRadius < 1) return false;
|
||||
if (Faction == null) return false;
|
||||
return !IsPresencePermitted(Zone.Sector.FactionRelationships[Faction], SecurityLevel);
|
||||
return !IsPresencePermitted(Zone.Galaxy.FactionRelationships[Faction], SecurityLevel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue