]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/sv_cmd.qc
Change command name from reset to resetmatch
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / sv_cmd.qc
index d2848ac6047e75ad460294b182ec4ba735edfa0e..16008bd5932650733a7e88c699f1edc85565bb3c 100644 (file)
@@ -1306,7 +1306,7 @@ void GameCommand_shuffleteams(int request)
        }
 }
 
-void GameCommand_reset(int request)
+void GameCommand_resetmatch(int request)
 {
        switch (request)
        {
@@ -1319,7 +1319,7 @@ void GameCommand_reset(int request)
                default:
                case CMD_REQUEST_USAGE:
                {
-                       LOG_HELP("Usage:^3 sv_cmd reset");
+                       LOG_HELP("Usage:^3 sv_cmd resetmatch");
                        LOG_HELP("  No arguments required.");
                        return;
                }
@@ -1670,7 +1670,7 @@ 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 game without changing teams; goes back to warmup if enabled") { GameCommand_reset(request); }
+SERVER_COMMAND(resetmatch, "Soft restart the game without changing teams; goes back to warmup if enabled") { GameCommand_resetmatch(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(stuffto, "Send a command to be executed on a client") { GameCommand_stuffto(request, arguments); }