From 68bc6a0103085ce683dc4c50e4b3c6438636146f Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 6 Feb 2013 00:40:52 +0100 Subject: [PATCH] Make Arena and CA MUTATOR_ONREMOVE consistent with latest changes --- qcsrc/server/mutators/gamemode_arena.qc | 3 ++- qcsrc/server/mutators/gamemode_ca.qc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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; -- 2.39.2