move NetReset

This commit is contained in:
Lion Kortlepel
2024-06-04 19:12:37 +02:00
parent cfcabf31a4
commit 3be1262b07
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;
}