QSBDreamRaftProjector SendInitialState

This commit is contained in:
JohnCorby 2022-03-27 13:28:49 -07:00
parent b9fe7e751d
commit aabe9646c2

View File

@ -1,8 +1,16 @@
using QSB.WorldSync;
using QSB.EchoesOfTheEye.DreamRafts.Messages;
using QSB.Messaging;
using QSB.WorldSync;
namespace QSB.EchoesOfTheEye.DreamRafts.WorldObjects;
public class QSBDreamRaftProjector : WorldObject<DreamRaftProjector>
{
public override void SendInitialState(uint to) { }
public override void SendInitialState(uint to)
{
if (AttachedObject._lit)
{
this.SendMessage(new SpawnRaftMessage());
}
}
}