Use constant reload time value instead of config

This commit is contained in:
PabstMirror 2016-04-29 13:00:35 -05:00
parent d826c91c99
commit 7665935641

View File

@ -18,8 +18,8 @@
params ["_unit", "_target", "_weapon", "_magazine"];
TRACE_4("params",_unit,_target,_weapon,_magazine);
private "_reloadTime";
_reloadTime = getNumber (configFile >> "CfgWeapons" >> _weapon >> "magazineReloadTime");
// private _reloadTime = getNumber (configFile >> "CfgWeapons" >> _weapon >> "magazineReloadTime"); //Not a good config value, use a constant for now:
private _reloadTime = 2.5;
// do animation
[_unit] call EFUNC(common,goKneeling);