]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/client.qc
Improve centreprint shown when max player limit blocks joining
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / client.qc
index b60ae7863f5b61730593ecf499e81cae56579c36..17893200dbfc3a5b9a14d7c648fe2e5ea8a9f51f 100644 (file)
@@ -2034,7 +2034,7 @@ int nJoinAllowed(entity this, entity ignore)
        static float msg_time = 0;
        if(this && !INGAME(this) && ignore && !free_slots && time > msg_time)
        {
-               Send_Notification(NOTIF_ONE_ONLY, this, MSG_CENTER, CENTER_JOIN_PREVENT);
+               Send_Notification(NOTIF_ONE_ONLY, this, MSG_CENTER, CENTER_JOIN_PREVENT, player_limit);
                msg_time = time + 0.5;
        }