mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-08 18:51:19 +00:00
baba booey
This commit is contained in:
parent
45396eb819
commit
ebd3af69b8
@ -70,7 +70,7 @@ internal class LightSensorPatches : QSBPatch
|
||||
}
|
||||
case LightSourceType.FLASHLIGHT:
|
||||
{
|
||||
if (source is Flashlight light && light == Locator.GetFlashlight())
|
||||
if (Locator.GetFlashlight() == source as Flashlight)
|
||||
{
|
||||
var position = Locator.GetPlayerCamera().transform.position;
|
||||
var to = __instance.transform.position - position;
|
||||
|
Loading…
Reference in New Issue
Block a user