From: Rudolf Polzer Date: Fri, 19 Mar 2010 15:04:19 +0000 (+0100) Subject: minor mutator system fix X-Git-Tag: xonotic-v0.1.0preview~687 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dc7ad25a9e4a078e519430df029eadb2bd4c1697;p=xonotic%2Fxonotic-data.pk3dir.git minor mutator system fix --- diff --git a/qcsrc/server/mutators/gamemode_keyhunt.qc b/qcsrc/server/mutators/gamemode_keyhunt.qc index e03ded434..e9a0dc7dc 100644 --- a/qcsrc/server/mutators/gamemode_keyhunt.qc +++ b/qcsrc/server/mutators/gamemode_keyhunt.qc @@ -1074,6 +1074,8 @@ MUTATOR_DEFINITION(gamemode_keyhunt) MUTATOR_ONADD { + if(time > 1) // game loads at time 1 + error("This is a game type and it cannot be added at runtime."); g_keyhunt = 1; kh_Initialize(); }