From 03a4c1a20accd75e85ef54d1adfccfd24d4145e1 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 0f9b94c3e..8aa2c8455 100644 --- a/qcsrc/server/command/sv_cmd.qc +++ b/qcsrc/server/command/sv_cmd.qc @@ -1033,7 +1033,6 @@ void GameCommand_setflag(int request, int argc) { case CMD_REQUEST_COMMAND: { - entity client; float accepted; @@ -1047,6 +1046,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