mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 12:08:52 +00:00
set _isProjecting too
This commit is contained in:
parent
1cfd3398c2
commit
eeadd3ff4f
@ -6,5 +6,9 @@ namespace QSB.EchoesOfTheEye.VisionTorch.Messages;
|
||||
public class VisionTorchProjectMessage : QSBWorldObjectMessage<QSBVisionTorchItem, bool>
|
||||
{
|
||||
public VisionTorchProjectMessage(bool projecting) : base(projecting) { }
|
||||
public override void OnReceiveRemote() => WorldObject.AttachedObject._mindProjectorTrigger.SetProjectorActive(Data);
|
||||
public override void OnReceiveRemote()
|
||||
{
|
||||
WorldObject.AttachedObject._isProjecting = Data;
|
||||
WorldObject.AttachedObject._mindProjectorTrigger.SetProjectorActive(Data);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user