From f1d17eefdbfc7f9c39da0b2e1bde0ee0435d0352 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Wed, 29 Jun 2022 20:03:01 +0700 Subject: [PATCH] Fix bug that prevented disabling of `Feature`s --- sources/CoreRealm/AcediaEnvironment.uc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/CoreRealm/AcediaEnvironment.uc b/sources/CoreRealm/AcediaEnvironment.uc index e00b0c6..0067cc9 100644 --- a/sources/CoreRealm/AcediaEnvironment.uc +++ b/sources/CoreRealm/AcediaEnvironment.uc @@ -432,8 +432,8 @@ public final function bool DisableFeature(Feature featureToDisable) featureToDisable.DisableInternal(); onFeatureDisabledSignal.Emit(featureToDisable.class); _.memory.Free(featureToDisable); + return true; } - return true; } return false; }