using QSB.Messaging; using QSB.WorldSync; namespace QSB.ShipSync.Messages; internal class ReactorCountdownMessage : QSBMessage { public ReactorCountdownMessage(float countdown) : base(countdown) { } public override void OnReceiveRemote() { var reactor = QSBWorldSync.GetUnityObject(); reactor._criticalCountdown = Data; reactor._criticalTimer = Data; reactor.enabled = true; } }