From 5cff9e2da5bcdce92563627cf68293be27288b98 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Mon, 14 Mar 2022 05:14:20 -0700 Subject: [PATCH] oops --- .../WorldObjects/QSBEclipseCodeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QSB/EchoesOfTheEye/EclipseCodeControllers/WorldObjects/QSBEclipseCodeController.cs b/QSB/EchoesOfTheEye/EclipseCodeControllers/WorldObjects/QSBEclipseCodeController.cs index ea8fb253..1045966d 100644 --- a/QSB/EchoesOfTheEye/EclipseCodeControllers/WorldObjects/QSBEclipseCodeController.cs +++ b/QSB/EchoesOfTheEye/EclipseCodeControllers/WorldObjects/QSBEclipseCodeController.cs @@ -14,7 +14,7 @@ public class QSBEclipseCodeController : WorldObject public override void SendInitialState(uint to) { this.SendMessage(new InitialStateMessage(AttachedObject) { To = to }); - this.SendMessage(new UseControllerMessage(PlayerInControl.PlayerId) { To = to }); + this.SendMessage(new UseControllerMessage(PlayerInControl?.PlayerId ?? 0) { To = to }); } public override async UniTask Init(CancellationToken ct)