mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 00:32:43 +00:00
gooba 2
This commit is contained in:
parent
fa4b3299c9
commit
8ac9c3df7b
@ -29,10 +29,6 @@ internal class LightSensorPatches : QSBPatch
|
||||
[HarmonyPatch(nameof(SingleLightSensor.OnSectorOccupantsUpdated))]
|
||||
private static bool OnSectorOccupantsUpdated(SingleLightSensor __instance)
|
||||
{
|
||||
if (LightSensorManager.IsPlayerLightSensor(__instance))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (!QSBWorldSync.AllObjectsReady)
|
||||
{
|
||||
return true;
|
||||
@ -187,12 +183,9 @@ internal class LightSensorPatches : QSBPatch
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
private static bool UpdateLocalIllumination(SingleLightSensor __instance)
|
||||
{
|
||||
if (LightSensorManager.IsPlayerLightSensor(__instance))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
if (!QSBWorldSync.AllObjectsReady)
|
||||
{
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user