mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 00:39:53 +00:00
LightSensorPatches: comment
This commit is contained in:
parent
156a2bbb38
commit
4c44a26ba0
@ -72,7 +72,7 @@ internal class LightSensorPatches : QSBPatch
|
||||
}
|
||||
else
|
||||
{
|
||||
var player = QSBPlayerManager.PlayerList.First(x => x.FlashLight == (QSBFlashlight)source);
|
||||
var player = QSBPlayerManager.PlayerList.First(x => x.FlashLight == (QSBFlashlight)source /*bug ??? always invalid cast*/);
|
||||
|
||||
var position = player.Camera.transform.position;
|
||||
var to = __instance.transform.position - position;
|
||||
|
Loading…
x
Reference in New Issue
Block a user