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,9 +432,9 @@ public final function bool DisableFeature(Feature featureToDisable)
featureToDisable.DisableInternal(); featureToDisable.DisableInternal();
onFeatureDisabledSignal.Emit(featureToDisable.class); onFeatureDisabledSignal.Emit(featureToDisable.class);
_.memory.Free(featureToDisable); _.memory.Free(featureToDisable);
}
return true; return true;
} }
}
return false; return false;
} }

Loading…
Cancel
Save