Fix instant commons troll

This commit is contained in:
Jackz 2022-07-02 21:38:32 -05:00
parent 910a560eb9
commit 6426e525db
No known key found for this signature in database
GPG key ID: E0BBD94CF657F603
3 changed files with 1 additions and 1 deletions

View file

@ -287,7 +287,6 @@ bool ApplyAffect(int victim, const Troll troll, int activator, trollModifier mod
for(int i = 0; i < 30; i++) {
int c = L4D_SpawnCommonInfected(pos);
L4D2_RunScript("CommandABot({cmd=0,bot=EntIndexToHScript(%i),target=GetPlayerFromUserID(%i)})", c, victimId);
SetEntPropEnt(c, Prop_Send, "m_hTargetEntity", victim);
}
}
} else if(StrEqual(troll.name, "Randomize Clip Ammo")) {