]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/sandbox.qc
Oops... forgot to set the object's owner.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / sandbox.qc
index 7d443bfb6b0603500fd6d3b7d618c4ac96e7946b..48b7da9489c01d9991f2911fe30f4d79c4310844 100644 (file)
@@ -34,6 +34,7 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand)
                        // spawn a new object with the default settings
                        entity e;
                        e = spawn();
+                       e.owner = self;
                        e.classname = "object";
                        e.takedamage = DAMAGE_NO;