From 28a2246b32180478891ff45e2d1164d203b7014a Mon Sep 17 00:00:00 2001 From: vis2k Date: Mon, 17 Dec 2018 22:54:44 +0100 Subject: [PATCH] NetworkProximityChecker OnSetLocalVisibility parameter name improved --- Mirror/Runtime/NetworkProximityChecker.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mirror/Runtime/NetworkProximityChecker.cs b/Mirror/Runtime/NetworkProximityChecker.cs index 297b699a5..684e234f6 100644 --- a/Mirror/Runtime/NetworkProximityChecker.cs +++ b/Mirror/Runtime/NetworkProximityChecker.cs @@ -117,11 +117,11 @@ public override bool OnRebuildObservers(HashSet observers, bo } // called hiding and showing objects on the host - public override void OnSetLocalVisibility(bool vis) + public override void OnSetLocalVisibility(bool visible) { foreach (Renderer rend in GetComponentsInChildren()) { - rend.enabled = vis; + rend.enabled = visible; } } }