diff --git a/Assets/Mirror/Examples/Snapshot Interpolation/ClientCube.cs b/Assets/Mirror/Examples/Snapshot Interpolation/ClientCube.cs index 9b24584c3..905ebfc9e 100644 --- a/Assets/Mirror/Examples/Snapshot Interpolation/ClientCube.cs +++ b/Assets/Mirror/Examples/Snapshot Interpolation/ClientCube.cs @@ -84,7 +84,7 @@ void Update() } // color material while catching up - render.sharedMaterial.color = lastCatchup > 0 + render.material.color = lastCatchup > 0 ? catchupColor : defaultColor; }