]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/t_quake3.qc
Merge remote branch 'origin/fruitiex/ctsfix' into fruitiex/ctsfix
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_quake3.qc
index c63b4de2fd2c949518c7ee93354bf5870234e312..44036ade494e9b437934f93438fdd5ead1dab8ab 100644 (file)
@@ -100,7 +100,9 @@ void target_give_init()
                        self.armorvalue = 100;
                else if (targ.classname == "item_health_mega")
                        self.health = 200;
-               remove(targ);
+               //remove(targ); // removing ents in init functions causes havoc, workaround:
+        targ.think = SUB_Remove;
+        targ.nextthink = time;
        }
        self.spawnflags = 2;
        spawnfunc_target_items();