1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-11 07:37:56 -05:00

Grief: ballistic knife projectile pushes enemy players

This commit is contained in:
Jbleezy
2022-01-06 17:24:11 -08:00
parent 591015b76e
commit a416983d93
2 changed files with 2 additions and 1 deletions

View File

@ -1180,7 +1180,7 @@ game_module_player_damage_callback( einflictor, eattacker, idamage, idflags, sme
}
is_melee = false;
if ( isDefined( eattacker ) && isplayer( eattacker ) && eattacker != self && eattacker.team != self.team && smeansofdeath == "MOD_MELEE" )
if(isDefined(eattacker) && isplayer(eattacker) && eattacker != self && eattacker.team != self.team && (smeansofdeath == "MOD_MELEE" || issubstr(sweapon, "knife_ballistic")))
{
is_melee = true;
dir = vdir;