public static void GoToMainMenu() { LongEventHandler.ClearQueuedEvents(); LongEventHandler.QueueLongEvent(delegate() { MemoryUtility.ClearAllMapsAndWorld(); Current.Game = null; }, "Entry", "LoadingLongEvent", true, null); }
public static void GoToMainMenu() { LongEventHandler.ClearQueuedEvents(); LongEventHandler.QueueLongEvent(delegate { MemoryUtility.ClearAllMapsAndWorld(); Current.Game = null; }, "Entry", "LoadingLongEvent", doAsynchronously: true, null, showExtraUIInfo: false); }