From: LegendaryGuard Date: Fri, 30 Jul 2021 17:16:06 +0000 (+0200) Subject: Make emerald nade turret option without assigning team and owner, still experimental X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=adf5663fe76e4c25ea6ee2b3af1652a8f6686719;p=xonotic%2Fxonotic-data.pk3dir.git Make emerald nade turret option without assigning team and owner, still experimental --- diff --git a/qcsrc/common/mutators/mutator/nades/nades.qc b/qcsrc/common/mutators/mutator/nades/nades.qc index 688433d93..be726d669 100644 --- a/qcsrc/common/mutators/mutator/nades/nades.qc +++ b/qcsrc/common/mutators/mutator/nades/nades.qc @@ -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;