From 2c7c00e8767b3179a018cd805ee0670da25bcbb0 Mon Sep 17 00:00:00 2001 From: _nebula <41904486+misternebula@users.noreply.github.com> Date: Thu, 16 Mar 2023 10:57:17 +0000 Subject: [PATCH] dumb fix for dumb ghosts --- QSB/EchoesOfTheEye/Ghosts/GhostManager.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/QSB/EchoesOfTheEye/Ghosts/GhostManager.cs b/QSB/EchoesOfTheEye/Ghosts/GhostManager.cs index d1963a15..2fbec4a5 100644 --- a/QSB/EchoesOfTheEye/Ghosts/GhostManager.cs +++ b/QSB/EchoesOfTheEye/Ghosts/GhostManager.cs @@ -52,6 +52,10 @@ internal class GhostManager : WorldObjectManager _zone2Director._cityGhosts[i].OnIdentifyIntruder -= _zone2Director.OnCityGhostsIdentifiedIntruder; _zone2Director._cityGhosts[i].GetWorldObject().OnIdentifyIntruder += CustomOnCityGhostsIdentifiedIntruder; } + + var allCollisionGroups = Resources.FindObjectsOfTypeAll(); + var city = allCollisionGroups.First(x => x.name == "City"); + city.SetSector(_zone2Director._sector); } public static void CustomOnHotelDepthsGhostsIdentifiedIntruder(GhostBrain ghostBrain, QSBGhostData ghostData)