fix probe being enabled

This commit is contained in:
Mister_Nebula 2021-07-13 22:20:15 +01:00
parent 3bd7b5a227
commit bb6ffb7f7a

View File

@ -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);