move NetReset

This commit is contained in:
Lion Kortlepel 2024-06-04 19:12:37 +02:00
parent cfcabf31a4
commit 3be1262b07
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B
2 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,6 @@ void Parse(std::string Data,SOCKET CSocket){
ModWarningConfirmed = true;
} else if (SubCode == 'N') {
ModWarningConfirmed = false;
NetReset();
Terminate = true;
TCPTerminate = true;
}

View File

@ -236,6 +236,7 @@ void SyncResources(SOCKET Sock){
UlStatus = "UlMods rejected!";
info("Mods rejected by user!");
// game has already cancelled by now
NetReset();
return;
}