From: terencehill Date: Fri, 5 Dec 2014 22:57:14 +0000 (+0100) Subject: MUTATOR_ONREMOVE for domination should be handled this way, like in the all the other... X-Git-Tag: xonotic-v0.8.0~116^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7aad31b3dc16442c971f950ca0c180df59ee3b59;p=xonotic%2Fxonotic-data.pk3dir.git MUTATOR_ONREMOVE for domination should be handled this way, like in the all the other game types --- diff --git a/qcsrc/server/mutators/gamemode_domination.qc b/qcsrc/server/mutators/gamemode_domination.qc index 2569a49d3..8e4d929be 100644 --- a/qcsrc/server/mutators/gamemode_domination.qc +++ b/qcsrc/server/mutators/gamemode_domination.qc @@ -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;