]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
MUTATOR_ONREMOVE for domination should be handled this way, like in the all the other...
authorterencehill <piuntn@gmail.com>
Fri, 5 Dec 2014 22:57:14 +0000 (23:57 +0100)
committerterencehill <piuntn@gmail.com>
Fri, 5 Dec 2014 22:57:14 +0000 (23:57 +0100)
qcsrc/server/mutators/gamemode_domination.qc

index 2569a49d3188c49c57dca27cb5c1c3f8e5559aec..8e4d929beefed58d4163d6c5b5c119c6e4f9fc78 100644 (file)
@@ -647,7 +647,8 @@ MUTATOR_DEFINITION(gamemode_domination)
 
        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;