From bd6be1e141aaa9375241856ec57f3133ed739b0b Mon Sep 17 00:00:00 2001 From: bustedbunny Date: Tue, 21 Feb 2023 00:29:20 +0300 Subject: [PATCH] Fixed a bug, when null check would be false positive --- Runtime/Binding/Localization/Source/BindingSource.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/Binding/Localization/Source/BindingSource.cs b/Runtime/Binding/Localization/Source/BindingSource.cs index 4f48b59..fb411b8 100644 --- a/Runtime/Binding/Localization/Source/BindingSource.cs +++ b/Runtime/Binding/Localization/Source/BindingSource.cs @@ -61,7 +61,8 @@ public bool TryEvaluateSelector(ISelectorInfo selectorInfo) break; } - return false; + if (bindingGroup is null) + return false; }