From 7fc344706073ca0afb359563c269529ada8b28fd Mon Sep 17 00:00:00 2001 From: Steve Salmond Date: Fri, 16 Sep 2022 16:03:18 +1200 Subject: [PATCH] Potential fix for build-time compilation error This change is intended to address a compilation error that crops up in BaseValue.cs when building a project. Looks like 'return value' should potentially be 'return originalValue' instead? --- Runtime/Values/BaseValue.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/Values/BaseValue.cs b/Runtime/Values/BaseValue.cs index 33a2dae..6ea3c5d 100644 --- a/Runtime/Values/BaseValue.cs +++ b/Runtime/Values/BaseValue.cs @@ -60,8 +60,8 @@ protected static T SerializedCopyInEditor(T originalValue) #if UNITY_EDITOR return SerializationHelper.CreateCopy(originalValue); #else - return value; + return originalValue; #endif } } -} \ No newline at end of file +}