_zm_utility.gsc: Fixed some issues.

This commit is contained in:
JezuzLizard 2021-01-25 01:07:47 -08:00
parent 30bab61abe
commit 5aae3f6c8f

View File

@ -2721,7 +2721,10 @@ set_zombie_var( var, value, is_float, column, is_team_based ) //checked changed
level.zombie_vars[ team ][ var ] = value;
}
}
else level.zombie_vars[ var ] = value;
else
{
level.zombie_vars[ var ] = value;
}
return value;
}
@ -4995,7 +4998,7 @@ is_headshot( sweapon, shitloc, smeansofdeath ) //checked changed at own diecreti
{
return 1;
}
if ( smeansofdeath == "MOD_IMPACT" && issubstr( sweapon, "knife_ballistic" ) )
if ( smeansofdeath == "MOD_IMPACT" && issubstr( sweapon, "knife_ballistic" ) && shitloc == "head" )
{
return 1;
}