From bb6ffb7f7a05e02dcdaff787976538ed057d49e1 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Tue, 13 Jul 2021 22:20:15 +0100 Subject: [PATCH] fix probe being enabled --- QSB/ProbeSync/TransformSync/PlayerProbeSync.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/QSB/ProbeSync/TransformSync/PlayerProbeSync.cs b/QSB/ProbeSync/TransformSync/PlayerProbeSync.cs index 1f5c56e5..f5275f15 100644 --- a/QSB/ProbeSync/TransformSync/PlayerProbeSync.cs +++ b/QSB/ProbeSync/TransformSync/PlayerProbeSync.cs @@ -50,7 +50,10 @@ namespace QSB.ProbeSync.TransformSync return default; } - var body = probe.InstantiateInactive(); + var body = probe.gameObject.activeSelf + ? probe.InstantiateInactive() + : Instantiate(probe); + body.name = "RemoteProbeTransform"; PlayerToolsManager.CreateProbe(body, Player);