Garry's Mod

Garry's Mod

[WK] Code - Core
Damage bugs when getting hit by NPC
[[WK] Code - Core] lua/autorun/wk_penetration_system.lua:185: attempt to perform arithmetic on local 'Attacker_Piercing' (a nil value)
1. GetProcessedDamage - lua/autorun/wk_penetration_system.lua:185
2. v - lua/autorun/wk_penetration_system.lua:256
3. unknown - lua/includes/modules/hook.lua:102
4. FireBullets - [C]:-1
5. PrimaryAttack - lua/weapons/weapon_vj_base/shared.lua:776
6. unknown - lua/weapons/weapon_vj_base/shared.lua:637 (x16)

and

[[WK] Code - Core] lua/autorun/wk_penetration_system.lua:185: attempt to perform arithmetic on local 'Attacker_Piercing' (a nil value)
1. GetProcessedDamage - lua/autorun/wk_penetration_system.lua:185
2. v - lua/autorun/wk_penetration_system.lua:256
3. unknown - lua/includes/modules/hook.lua:102 (x8)

Any ideas how to fix this? Options?