This commit is contained in:
JohnCorby 2022-03-14 05:14:20 -07:00
parent 6f8d367b95
commit 5cff9e2da5

View File

@ -14,7 +14,7 @@ public class QSBEclipseCodeController : WorldObject<EclipseCodeController4>
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)