From aabe9646c253a7e9143db0b22e27e7ad1d71a462 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Sun, 27 Mar 2022 13:28:49 -0700 Subject: [PATCH] QSBDreamRaftProjector SendInitialState --- .../DreamRafts/WorldObjects/QSBDreamRaftProjector.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/QSB/EchoesOfTheEye/DreamRafts/WorldObjects/QSBDreamRaftProjector.cs b/QSB/EchoesOfTheEye/DreamRafts/WorldObjects/QSBDreamRaftProjector.cs index a48ab91c..ccdafdf2 100644 --- a/QSB/EchoesOfTheEye/DreamRafts/WorldObjects/QSBDreamRaftProjector.cs +++ b/QSB/EchoesOfTheEye/DreamRafts/WorldObjects/QSBDreamRaftProjector.cs @@ -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 { - public override void SendInitialState(uint to) { } + public override void SendInitialState(uint to) + { + if (AttachedObject._lit) + { + this.SendMessage(new SpawnRaftMessage()); + } + } }