dumb fix for dumb ghosts

This commit is contained in:
_nebula 2023-03-16 10:57:17 +00:00
parent 245a91bae5
commit 2c7c00e876

View File

@ -52,6 +52,10 @@ internal class GhostManager : WorldObjectManager
_zone2Director._cityGhosts[i].OnIdentifyIntruder -= _zone2Director.OnCityGhostsIdentifiedIntruder;
_zone2Director._cityGhosts[i].GetWorldObject<QSBGhostBrain>().OnIdentifyIntruder += CustomOnCityGhostsIdentifiedIntruder;
}
var allCollisionGroups = Resources.FindObjectsOfTypeAll<SectorCollisionGroup>();
var city = allCollisionGroups.First(x => x.name == "City");
city.SetSector(_zone2Director._sector);
}
public static void CustomOnHotelDepthsGhostsIdentifiedIntruder(GhostBrain ghostBrain, QSBGhostData ghostData)