diff --git a/src/ReceiveCommands.cc b/src/ReceiveCommands.cc index f1d430ef..979d5cab 100644 --- a/src/ReceiveCommands.cc +++ b/src/ReceiveCommands.cc @@ -1922,15 +1922,15 @@ static void on_10(shared_ptr s, shared_ptr c, if (!(c->license->privileges & Privilege::FREE_JOIN_GAMES)) { if (!game->password.empty() && (password != game->password)) { - send_message_box(c, u"$C6Incorrect password."); + send_lobby_message_box(c, u"$C6Incorrect password."); break; } if (c->game_data.player()->disp.level < game->min_level) { - send_message_box(c, u"$C6Your level is too\nlow to join this\ngame."); + send_lobby_message_box(c, u"$C6Your level is too\nlow to join this\ngame."); break; } if (c->game_data.player()->disp.level > game->max_level) { - send_message_box(c, u"$C6Your level is too\nhigh to join this\ngame."); + send_lobby_message_box(c, u"$C6Your level is too\nhigh to join this\ngame."); break; } }