don't check for ready flag in networking callback, save the chat message and exit, when the ovrlay is ready it will display it

This commit is contained in:
a 2024-08-18 03:16:36 +03:00
parent 917eea288a
commit 6c78d51240

View File

@ -1635,8 +1635,6 @@ void Steam_Overlay::networking_msg_received(Common_Message *msg)
{ {
std::lock_guard<std::recursive_mutex> lock(overlay_mutex); std::lock_guard<std::recursive_mutex> lock(overlay_mutex);
if (!Ready()) return;
if (msg->has_steam_messages()) { if (msg->has_steam_messages()) {
Friend frd; Friend frd;
frd.set_id(msg->source_id()); frd.set_id(msg->source_id());