From: terencehill Date: Tue, 5 Feb 2013 23:40:52 +0000 (+0100) Subject: Make Arena and CA MUTATOR_ONREMOVE consistent with latest changes X-Git-Tag: xonotic-v0.7.0~61^2~60 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=68bc6a0103085ce683dc4c50e4b3c6438636146f;p=xonotic%2Fxonotic-data.pk3dir.git Make Arena and CA MUTATOR_ONREMOVE consistent with latest changes --- diff --git a/qcsrc/server/mutators/gamemode_arena.qc b/qcsrc/server/mutators/gamemode_arena.qc index 891514e2e..4b88eefb2 100644 --- a/qcsrc/server/mutators/gamemode_arena.qc +++ b/qcsrc/server/mutators/gamemode_arena.qc @@ -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; diff --git a/qcsrc/server/mutators/gamemode_ca.qc b/qcsrc/server/mutators/gamemode_ca.qc index f79176881..5fffa1601 100644 --- a/qcsrc/server/mutators/gamemode_ca.qc +++ b/qcsrc/server/mutators/gamemode_ca.qc @@ -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;