Fix bug disconnecting from server

This commit is contained in:
oldnapalm
2023-10-22 17:14:50 -03:00
parent fbff72ff14
commit 3fc813b2d8
3 changed files with 10 additions and 9 deletions

View File

@ -326,7 +326,8 @@ namespace RageCoop.Client
WorldThread.Traffic(true);
Function.Call(Hash.SET_ENABLE_VEHICLE_SLIPSTREAMING, false);
CoopMenu.DisconnectedMenuSetting();
GTA.UI.Notification.Show("~r~Disconnected: " + reason);
if (reason != "Abort")
GTA.UI.Notification.Show("~r~Disconnected: " + reason);
LocalPlayerID = default;
});
Memory.RestorePatches();