Beispiel #1
0
        private void OnReturnedToTitle(object sender, ReturnedToTitleEventArgs e)
        {
            // Unload if the main player quits.
            if (Context.ScreenId != 0)
            {
                return;
            }

            _modOptionsPageHandler?.Dispose();
            _modOptionsPageHandler = null;
        }
Beispiel #2
0
 private void OnReturnedToTitle(object sender, ReturnedToTitleEventArgs e)
 {
     _modOptionsPageHandler?.Dispose();
     _modOptionsPageHandler = null;
 }
Beispiel #3
0
 private void ReturnToTitle(object sender, EventArgs e)
 {
     _modOptionsPageHandler.Dispose();
     _modOptionsPageHandler = null;
 }