]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix inserted setflag command correctly (helping z411 to improve stuff)
authorLegendaryGuard <rootuser999@gmail.com>
Sat, 10 Apr 2021 23:34:39 +0000 (01:34 +0200)
committerz411 <z411@omaera.org>
Thu, 15 Apr 2021 16:47:25 +0000 (12:47 -0400)
qcsrc/server/command/sv_cmd.qc

index 0f9b94c3e28d97254e2d5fc0908ee4d4fbd6a0f2..8aa2c84554d91370fb1b5f990e4aff6b13ff9d3d 100644 (file)
@@ -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));