]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix emerald nade while using instagib mutator
authorLegendaryGuard <theasixchan777@gmail.com>
Wed, 21 Jul 2021 23:47:45 +0000 (01:47 +0200)
committerLegendaryGuard <theasixchan777@gmail.com>
Wed, 21 Jul 2021 23:47:45 +0000 (01:47 +0200)
qcsrc/common/mutators/mutator/nades/nades.qc

index 2d72bf4ca4654d955d6e831f2c7950aa649fc6da..688433d9354613be3e8a092d54dc3d9650f22a16 100644 (file)
@@ -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)