From 2bbf9ef6df56b5a32bffdc3f8abd72d3614bf6ad Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Fri, 20 Dec 2019 15:05:28 -0500 Subject: [PATCH] Add small delay to new lobby member callbacks. --- dll/steam_matchmaking.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/steam_matchmaking.h b/dll/steam_matchmaking.h index a21cb22..5f30a28 100644 --- a/dll/steam_matchmaking.h +++ b/dll/steam_matchmaking.h @@ -1353,7 +1353,7 @@ void Callback(Common_Message *msg) if (msg->lobby_messages().type() == Lobby_Messages::JOIN) { PRINT_DEBUG("LOBBY MESSAGE: JOIN\n"); enter_lobby(lobby, (uint64)msg->source_id()); - trigger_lobby_member_join_leave((uint64)lobby->room_id(), (uint64)msg->source_id(), false, true); + trigger_lobby_member_join_leave((uint64)lobby->room_id(), (uint64)msg->source_id(), false, true, 0.01); } if (msg->lobby_messages().type() == Lobby_Messages::MEMBER_DATA) {