Browse Source

Fix bug that prevented disabling of `Feature`s

pull/8/head
Anton Tarasenko 2 years ago
parent
commit
f1d17eefdb
  1. 2
      sources/CoreRealm/AcediaEnvironment.uc

2
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;
}

Loading…
Cancel
Save