Add small delay to new lobby member callbacks.

This commit is contained in:
Mr_Goldberg 2019-12-20 15:05:28 -05:00
parent b8aa74af0e
commit 2bbf9ef6df
No known key found for this signature in database
GPG Key ID: 8597D87419DEF278
1 changed files with 1 additions and 1 deletions

View File

@ -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) {