mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix that cachedOverPressureValue is called Multible per Weapon
This commit is contained in:
parent
9bb9df59ec
commit
83e74d848d
@ -17,7 +17,7 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
EXPLODE_2_PVT(_this,_weapon,_magazine);
|
||||
|
||||
if !(isNil (QGVAR(Damage) + _magazine)) exitWith {};
|
||||
private ["_damage","_angle","_range"];
|
||||
_damage = getNumber (configFile >> "CfgMagazines" >> _magazine >> QGVAR(damage));
|
||||
if (_damage == 0) then {
|
||||
|
Loading…
Reference in New Issue
Block a user