]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make Arena and CA MUTATOR_ONREMOVE consistent with latest changes
authorterencehill <piuntn@gmail.com>
Tue, 5 Feb 2013 23:40:52 +0000 (00:40 +0100)
committerterencehill <piuntn@gmail.com>
Tue, 5 Feb 2013 23:40:52 +0000 (00:40 +0100)
qcsrc/server/mutators/gamemode_arena.qc
qcsrc/server/mutators/gamemode_ca.qc

index 891514e2eac60ea90adb11f8b20237ec347647cd..4b88eefb2a760584883dda91a0cbf91beb261da4 100644 (file)
@@ -281,7 +281,8 @@ MUTATOR_DEFINITION(gamemode_arena)
 
        MUTATOR_ONREMOVE
        {
-               error("This is a game type and it cannot be removed at runtime.");
+               print("This is a game type and it cannot be removed at runtime.");
+               return -1;
        }
 
        return 0;
index f791768816f090d762ec15b5f51c9f19243cd38f..5fffa160189d7595495f7102c2d33c3de0b57d78 100644 (file)
@@ -253,7 +253,8 @@ MUTATOR_DEFINITION(gamemode_ca)
 
        MUTATOR_ONREMOVE
        {
-               error("This is a game type and it cannot be removed at runtime.");
+               print("This is a game type and it cannot be removed at runtime.");
+               return -1;
        }
 
        return 0;