]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/t_quake3.qc
Reset: `this` param
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / t_quake3.qc
index 82646da26a01dfca79a42192c9adc9d2f77d5f06..88e9c2a666688e53402150b5307beb254ed4d563 100644 (file)
@@ -128,7 +128,7 @@ void target_give_init()
                else if (targ.classname == "item_health_mega")
                        self.health = 200;
                //remove(targ); // removing ents in init functions causes havoc, workaround:
-        targ.think = SUB_Remove;
+        targ.think = SUB_Remove_self;
         targ.nextthink = time;
        }
        self.spawnflags = 2;