protected override void OnFinalize() { base.OnFinalize(); if (LoadingWindow.GetGlobalLoadingWindowState()) { LoadingWindow.DisableGlobalLoadingWindow(); } Game.Current.GameStateManager.ActiveStateDisabledByUser = this._oldGameStateManagerDisabledStatus; }
protected override void OnFinalize() { base.OnFinalize(); if (LoadingWindow.GetGlobalLoadingWindowState()) { LoadingWindow.DisableGlobalLoadingWindow(); } this._dataSource = null; this._gauntletLayer = null; }
protected override void OnFinalize() { base.OnFinalize(); _bannerEditorLayer.OnFinalize(); if (LoadingWindow.GetGlobalLoadingWindowState()) { LoadingWindow.DisableGlobalLoadingWindow(); } TaleWorlds.Core.Game.Current.GameStateManager.ActiveStateDisabledByUser = _oldGameStateManagerDisabledStatus; }