]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/sandbox.qc
Use realowner instead of owner. This seems to not break the collisions
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / sandbox.qc
index 747494d42ef6d8d540882ada7e3c26d60b99062f..74de52b81c4b5e6b3b8cd8e8370c21d5205593ba 100644 (file)
@@ -35,7 +35,7 @@ MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand)
                        entity e;
                        e = spawn();
 
-                       //e.owner = self; // for some reason, setting this causes collisions to break
+                       e.realowner = self;
                        e.classname = "object";
                        e.takedamage = DAMAGE_NO;