Add small delay to new lobby member callbacks.
parent
b8aa74af0e
commit
2bbf9ef6df
|
@ -1353,7 +1353,7 @@ void Callback(Common_Message *msg)
|
||||||
if (msg->lobby_messages().type() == Lobby_Messages::JOIN) {
|
if (msg->lobby_messages().type() == Lobby_Messages::JOIN) {
|
||||||
PRINT_DEBUG("LOBBY MESSAGE: JOIN\n");
|
PRINT_DEBUG("LOBBY MESSAGE: JOIN\n");
|
||||||
enter_lobby(lobby, (uint64)msg->source_id());
|
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) {
|
if (msg->lobby_messages().type() == Lobby_Messages::MEMBER_DATA) {
|
||||||
|
|
Loading…
Reference in New Issue