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:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user