Move logger

This commit is contained in:
Sardelka
2022-07-13 11:08:04 +08:00
parent cdeef7279c
commit 72aff78718
2 changed files with 18 additions and 5 deletions

View File

@ -76,13 +76,11 @@ namespace RageCoop.Client
#if !NON_INTERACTIVE
CoopMenu.DisconnectedMenuSetting();
#endif
Main.Logger.Info($">> Disconnected << reason: {reason}");
Main.QueueAction(() =>
GTA.UI.Notification.Show("~r~Disconnected: " + reason));
Main.Resources.Unload();
Main.Logger.Info($">> Disconnected << reason: {reason}");
Main.Resources.Unload();
break;
}