Use faction keys in sector map rendering
This commit is contained in:
parent
8ea97a08f8
commit
c5626561a7
5 changed files with 18 additions and 12 deletions
|
|
@ -820,7 +820,8 @@ static void RequireFactionKeyIdentity(string root)
|
|||
Path.Combine(root, "Assets", "Scripts", "ServerShared", "Zone.cs"),
|
||||
Path.Combine(root, "Assets", "Scripts", "ServerShared", "Narrative", "ZoneConstraints.cs"),
|
||||
Path.Combine(root, "Assets", "Scripts", "Gameplay", "ActionGameManager.cs"),
|
||||
Path.Combine(root, "Assets", "Scripts", "UI", "Menu", "SectorRenderer.cs")
|
||||
Path.Combine(root, "Assets", "Scripts", "UI", "Menu", "SectorRenderer.cs"),
|
||||
Path.Combine(root, "Assets", "Scripts", "UI", "Menu", "SectorMap.cs")
|
||||
};
|
||||
|
||||
var forbiddenSymbols = new[]
|
||||
|
|
@ -834,7 +835,9 @@ static void RequireFactionKeyIdentity(string root)
|
|||
".ID != zone.Owner",
|
||||
"pair.Key.ID",
|
||||
"f.ID != zone.Owner",
|
||||
"Owner.ID =="
|
||||
"Owner.ID ==",
|
||||
"zone.Owner == adjacentZone.Owner",
|
||||
"zone.Owner != mega"
|
||||
};
|
||||
|
||||
var hits = checkedFiles
|
||||
|
|
|
|||
Loading…
Reference in a new issue