From: LegendaryGuard Date: Wed, 21 Jul 2021 23:47:45 +0000 (+0200) Subject: Fix emerald nade while using instagib mutator X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7ba88cd2a2a428555befab8da09b3a3cf1b02ee7;p=xonotic%2Fxonotic-data.pk3dir.git Fix emerald nade while using instagib mutator --- diff --git a/qcsrc/common/mutators/mutator/nades/nades.qc b/qcsrc/common/mutators/mutator/nades/nades.qc index 2d72bf4ca..688433d93 100644 --- a/qcsrc/common/mutators/mutator/nades/nades.qc +++ b/qcsrc/common/mutators/mutator/nades/nades.qc @@ -944,7 +944,7 @@ void nade_emerald_dropping(vector org) int itemcount = autocvar_g_nades_emerald_spawncount; entity e = spawn(); e.spawnfunc_checked = true; - if(!IS_GAMETYPE(CA)) + if(!IS_GAMETYPE(CA) && !autocvar_g_instagib) { //int cvar which manages the ONLY dropping per each type of item 14-03-2021 switch (autocvar_g_nades_emerald_dropitemselect)