JohnCorby 0fef22cbf1 Revert "QSBLightSensor: use remote call"
This reverts commit caf952a3
2022-04-01 02:27:39 -07:00

11 lines
346 B
C#

using QSB.EchoesOfTheEye.LightSensorSync.WorldObjects;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.LightSensorSync.Messages;
internal class SetEnabledMessage : QSBWorldObjectMessage<QSBLightSensor, bool>
{
public SetEnabledMessage(bool data) : base(data) { }
public override void OnReceiveRemote() => WorldObject.SetEnabled(Data);
}