From 00d61ce6e28b1171cd0282089f897995e5f0203b Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 28 Oct 2024 17:43:21 +0100 Subject: [PATCH] Fix spectate command help message and improve Forfeit dialog message --- qcsrc/menu/xonotic/dialog_forfeit.qc | 2 +- qcsrc/server/command/cmd.qc | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/qcsrc/menu/xonotic/dialog_forfeit.qc b/qcsrc/menu/xonotic/dialog_forfeit.qc index 5de1982f2..d80784f74 100644 --- a/qcsrc/menu/xonotic/dialog_forfeit.qc +++ b/qcsrc/menu/xonotic/dialog_forfeit.qc @@ -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)); diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index 64fe5ab46..718b74c64 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -756,10 +756,11 @@ void ClientCommand_spectate(entity caller, int request) default: case CMD_REQUEST_USAGE: { - sprint(caller, "\nUsage:^3 cmd spectate [] [FORFEIT]\n"); + sprint(caller, "\nUsage:^3 cmd spectate [] [ASK_FORFEIT]\n"); sprint(caller, " Where can be the player to spectate.\n"); sprint(caller, " If is \"\" or not specified, caller becomes observer.\n"); - sprint(caller, " If is \"\", FORFEIT makes so that caller forcedly quits current game.\n"); + sprint(caller, " If is \"\", ASK_FORFEIT means caller will be asked" + " to confirm forfeiting the current game.\n"); return; } } -- 2.39.2