fix: achievements (2)

Make menu more accurate
Add Achievements option to Main Menu
Force achievements to save when saving the level
Fix a random crash i was getting
This commit is contained in:
SevenToaster509 committed 2026-04-26 20:12:34 +01:00
1 parent ae5a86d082
commit 57de83add1
7 files changed
+25 -9

No files matched your search

@@ -929,7 +929,11 @@ void CPlatformNetworkManagerStub::SearchForGames()
strncpy_s(info->data.hostIP, sizeof(info->data.hostIP), ipBuf, _TRUNCATE);
info->data.hostPort = port;
info->sessionId = static_cast<uint64_t>(inet_addr(ipBuf)) | static_cast<uint64_t>(port) << 32;
friendsSessions[0].push_back(info);
//Fix null crash? I think its here...
if (info) {
friendsSessions[0].push_back(info);
}
}
}
}