From 5aae3f6c8fc72cb23f0fdf66b767d7f8aee31738 Mon Sep 17 00:00:00 2001 From: JezuzLizard Date: Mon, 25 Jan 2021 01:07:47 -0800 Subject: [PATCH] _zm_utility.gsc: Fixed some issues. --- patch_zm/maps/mp/zombies/_zm_utility.gsc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/patch_zm/maps/mp/zombies/_zm_utility.gsc b/patch_zm/maps/mp/zombies/_zm_utility.gsc index a390e5c..92a94bc 100644 --- a/patch_zm/maps/mp/zombies/_zm_utility.gsc +++ b/patch_zm/maps/mp/zombies/_zm_utility.gsc @@ -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; }