]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix spectate command help message and improve Forfeit dialog message
authorterencehill <piuntn@gmail.com>
Mon, 28 Oct 2024 16:43:21 +0000 (17:43 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 28 Oct 2024 16:43:21 +0000 (17:43 +0100)
qcsrc/menu/xonotic/dialog_forfeit.qc
qcsrc/server/command/cmd.qc

index 5de1982f253be932436482d609fa0f619878d44b..d80784f749b1f212d6cce96bfef4142d9add1318 100644 (file)
@@ -16,7 +16,7 @@ void XonoticForfeitDialog_fill(entity me)
 
        entity e;
        me.TR(me);
-               me.TD(me, 1, 2, makeXonoticTextLabel(0.5, _("Are you sure you want to observe and quit current match?")));
+               me.TD(me, 1, 2, makeXonoticTextLabel(0.5, _("Are you sure you want to observe and forfeit the current match?")));
        me.TR(me);
        me.TR(me);
                me.TD(me, 1, 1, e = makeXonoticCommandButton(_("Yes"), '1 0 0', "spec", COMMANDBUTTON_CLOSE));
index 64fe5ab46a75ae53a1ba3df180829683d9235905..718b74c64e0cccec4c354f841e4f0a86f5039bea 100644 (file)
@@ -756,10 +756,11 @@ void ClientCommand_spectate(entity caller, int request)
                default:
                case CMD_REQUEST_USAGE:
                {
-                       sprint(caller, "\nUsage:^3 cmd spectate [<client>] [FORFEIT]\n");
+                       sprint(caller, "\nUsage:^3 cmd spectate [<client>] [ASK_FORFEIT]\n");
                        sprint(caller, "  Where <client> can be the player to spectate.\n");
                        sprint(caller, "  If <client> is \"\" or not specified, caller becomes observer.\n");
-                       sprint(caller, "  If <client> is \"\", FORFEIT makes so that caller forcedly quits current game.\n");
+                       sprint(caller, "  If <client> is \"\", ASK_FORFEIT means caller will be asked"
+                                        " to confirm forfeiting the current game.\n");
                        return;
                }
        }