mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-23 20:38:07 +01:00
Add small delay to new lobby member callbacks.
This commit is contained in:
parent
b8aa74af0e
commit
2bbf9ef6df
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue