diff --git a/Unity/Thing.cs b/Unity/Thing.cs index cf32570..ebacc63 100644 --- a/Unity/Thing.cs +++ b/Unity/Thing.cs @@ -194,7 +194,7 @@ namespace RoboidControl.Unity { Thing[] things = FindObjectsOfType(); Thing parentThing = null; foreach (Thing thing in things) { - if (thing.core.id == coreThing.id) { + if (thing.core.owner.networkId == coreThing.owner.networkId && thing.core.id == coreThing.id) { parentTransform = thing.transform; parentThing = thing; } @@ -213,7 +213,7 @@ namespace RoboidControl.Unity { } } else - ScanForThings(parentTransform); + ScanForThings(parentTransform); } else { this.transform.localScale = Vector3.one * 1;