From 3aaa58c5d324d761363ee7ffc2f4d31e1c4a3b39 Mon Sep 17 00:00:00 2001 From: z411 Date: Wed, 20 Oct 2021 01:34:54 -0300 Subject: [PATCH] Changed srestart command name to reset --- qcsrc/server/command/sv_cmd.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/server/command/sv_cmd.qc b/qcsrc/server/command/sv_cmd.qc index d1946b636..e1070ad9a 100644 --- a/qcsrc/server/command/sv_cmd.qc +++ b/qcsrc/server/command/sv_cmd.qc @@ -1307,7 +1307,7 @@ void GameCommand_shuffleteams(int request) } } -void GameCommand_srestart(int request) +void GameCommand_reset(int request) { switch (request) { @@ -1321,7 +1321,7 @@ void GameCommand_srestart(int request) default: case CMD_REQUEST_USAGE: { - LOG_HELP("Usage:^3 sv_cmd srestart"); + LOG_HELP("Usage:^3 sv_cmd reset"); LOG_HELP(" No arguments required."); return; } @@ -1672,9 +1672,9 @@ SERVER_COMMAND(nospectators, "Automatically remove spectators from a match") { G SERVER_COMMAND(printstats, "Dump eventlog player stats and other score information") { GameCommand_printstats(request); } SERVER_COMMAND(radarmap, "Generate a radar image of the map") { GameCommand_radarmap(request, arguments); } SERVER_COMMAND(reducematchtime, "Decrease the timelimit value incrementally") { GameCommand_reducematchtime(request); } +SERVER_COMMAND(reset, "Soft restart the server and reset the players") { GameCommand_reset(request); } SERVER_COMMAND(setbots, "Adjust how many bots are in the match") { GameCommand_setbots(request, arguments); } SERVER_COMMAND(shuffleteams, "Randomly move players to different teams") { GameCommand_shuffleteams(request); } -SERVER_COMMAND(srestart, "Soft restart the server and reset the players") { GameCommand_srestart(request); } SERVER_COMMAND(stuffto, "Send a command to be executed on a client") { GameCommand_stuffto(request, arguments); } SERVER_COMMAND(trace, "Various debugging tools with tracing") { GameCommand_trace(request, arguments); } SERVER_COMMAND(unlockteams, "Enable the ability for players to switch or enter teams") { GameCommand_unlockteams(request); } -- 2.39.2