diff --git a/crest/Assets/Crest/Crest/Scripts/Helpers/UnderwaterEffect.cs b/crest/Assets/Crest/Crest/Scripts/Helpers/UnderwaterEffect.cs index 443c83172..5b751abee 100644 --- a/crest/Assets/Crest/Crest/Scripts/Helpers/UnderwaterEffect.cs +++ b/crest/Assets/Crest/Crest/Scripts/Helpers/UnderwaterEffect.cs @@ -63,7 +63,7 @@ public partial class UnderwaterEffect : CustomMonoBehaviour private void Start() { - if (!TryGetComponent(out var _rend)) + if (!TryGetComponent(out _rend)) { Debug.LogError($"Crest: No renderer attached to {this}. Please attach on or use the prefab."); return;