mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Use constant reload time value instead of config
This commit is contained in:
parent
d826c91c99
commit
7665935641
@ -18,8 +18,8 @@
|
|||||||
params ["_unit", "_target", "_weapon", "_magazine"];
|
params ["_unit", "_target", "_weapon", "_magazine"];
|
||||||
TRACE_4("params",_unit,_target,_weapon,_magazine);
|
TRACE_4("params",_unit,_target,_weapon,_magazine);
|
||||||
|
|
||||||
private "_reloadTime";
|
// private _reloadTime = getNumber (configFile >> "CfgWeapons" >> _weapon >> "magazineReloadTime"); //Not a good config value, use a constant for now:
|
||||||
_reloadTime = getNumber (configFile >> "CfgWeapons" >> _weapon >> "magazineReloadTime");
|
private _reloadTime = 2.5;
|
||||||
|
|
||||||
// do animation
|
// do animation
|
||||||
[_unit] call EFUNC(common,goKneeling);
|
[_unit] call EFUNC(common,goKneeling);
|
||||||
|
Loading…
Reference in New Issue
Block a user