]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make emerald nade turret option without assigning team and owner, still experimental
authorLegendaryGuard <rootuser999@gmail.com>
Mon, 9 Aug 2021 16:12:34 +0000 (16:12 +0000)
committerLegendaryGuard <rootuser999@gmail.com>
Mon, 9 Aug 2021 16:12:34 +0000 (16:12 +0000)
qcsrc/common/mutators/mutator/nades/nades.qc

index 688433d9354613be3e8a092d54dc3d9650f22a16..be726d66987acff409d81bb6c400f42cc71fb3c7 100644 (file)
@@ -815,7 +815,7 @@ void nade_emerald_SpawnTurret(entity ent, vector org, entity tur)
                        //ent.owner = it.owner;
                        //ent.realowner = it.realowner;
                        //ent.team = ent.realowner.team;
-                       FOREACH_CLIENT(!IS_OBSERVER(it.realowner), ent.team = it.team;);
+                       //FOREACH_CLIENT(!IS_OBSERVER(it.realowner), ent.team = it.team;);
                        ent.noalign = true; // don't drop to floor
                        //ent.angles = '0 0 0';
                        //ent.gravity = 1;