mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
dumb fix for dumb ghosts
This commit is contained in:
parent
245a91bae5
commit
2c7c00e876
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user