From 34174171cc72a71285b404d273cf99b8e01423ad Mon Sep 17 00:00:00 2001 From: LegendaryGuard Date: Sun, 11 Apr 2021 01:34:39 +0200 Subject: [PATCH] Fix inserted setflag command correctly (helping z411 to improve stuff) --- qcsrc/server/command/sv_cmd.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/command/sv_cmd.qc b/qcsrc/server/command/sv_cmd.qc index 0c511b435..060502f9e 100644 --- a/qcsrc/server/command/sv_cmd.qc +++ b/qcsrc/server/command/sv_cmd.qc @@ -1048,7 +1048,6 @@ void GameCommand_setflag(int request, int argc) { case CMD_REQUEST_COMMAND: { - entity client; float accepted; @@ -1062,6 +1061,7 @@ void GameCommand_setflag(int request, int argc) } client.countrycode = stof(argv(2)); + return; } default: LOG_INFOF("Incorrect parameters for ^2%s^7", argv(0)); -- 2.39.2