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