Redundancy fix

This commit is contained in:
loonycyborg 2019-08-22 14:34:27 +03:00
parent 661048d4a9
commit 43546e455f

View file

@ -785,7 +785,7 @@ bool server::is_login_allowed(socket_ptr socket, const simple_wml::node* const l
auto g_ptr { record.get_game() };
if(g_ptr != last_sent) {
// Note: This string is parsed by the client to identify lobby join messages!
record.get_game()->send_server_message_to_all(username + " has logged into the lobby");
g_ptr->send_server_message_to_all(username + " has logged into the lobby");
last_sent = g_ptr;
}
}