mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 00:32:43 +00:00
QSBDreamRaftProjector SendInitialState
This commit is contained in:
parent
b9fe7e751d
commit
aabe9646c2
@ -1,8 +1,16 @@
|
|||||||
using QSB.WorldSync;
|
using QSB.EchoesOfTheEye.DreamRafts.Messages;
|
||||||
|
using QSB.Messaging;
|
||||||
|
using QSB.WorldSync;
|
||||||
|
|
||||||
namespace QSB.EchoesOfTheEye.DreamRafts.WorldObjects;
|
namespace QSB.EchoesOfTheEye.DreamRafts.WorldObjects;
|
||||||
|
|
||||||
public class QSBDreamRaftProjector : WorldObject<DreamRaftProjector>
|
public class QSBDreamRaftProjector : WorldObject<DreamRaftProjector>
|
||||||
{
|
{
|
||||||
public override void SendInitialState(uint to) { }
|
public override void SendInitialState(uint to)
|
||||||
|
{
|
||||||
|
if (AttachedObject._lit)
|
||||||
|
{
|
||||||
|
this.SendMessage(new SpawnRaftMessage());
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user