Oops... forgot to set the object's owner.
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 24 Oct 2011 14:56:36 +0000 (17:56 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 24 Oct 2011 14:56:36 +0000 (17:56 +0300)
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;