mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 18:35:34 +00:00
fixed probe error (#125)
This commit is contained in:
parent
52238374c5
commit
4066664cf7
@ -34,7 +34,13 @@ namespace QSB.TransformSync
|
|||||||
|
|
||||||
protected override Transform InitRemoteTransform()
|
protected override Transform InitRemoteTransform()
|
||||||
{
|
{
|
||||||
var body = Instantiate(GetProbe());
|
var probe = GetProbe();
|
||||||
|
|
||||||
|
probe.gameObject.SetActive(false);
|
||||||
|
var body = Instantiate(probe);
|
||||||
|
probe.gameObject.SetActive(true);
|
||||||
|
|
||||||
|
Destroy(body.GetComponentInChildren<ProbeAnimatorController>());
|
||||||
|
|
||||||
PlayerToolsManager.CreateProbe(body, PlayerId);
|
PlayerToolsManager.CreateProbe(body, PlayerId);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user