mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Arsenal - Fix fire rate sort caused by flashlight (#7878)
* fix firerate sort caused by flashlight * Update fnc_sortStatement_rateOfFire.sqf * Update addons/arsenal/functions/fnc_sortStatement_rateOfFire.sqf Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: jonpas <jonpas33@gmail.com>
This commit is contained in:
parent
e9b2087faf
commit
572e61d1cf
@ -22,5 +22,7 @@ private _fireRate = [];
|
||||
} foreach _fireModes;
|
||||
|
||||
_fireRate sort true;
|
||||
_fireRate = _fireRate param [0, 0];
|
||||
|
||||
round (60 / (_fireRate param [0, 0]))
|
||||
if (_fireRate == 0) exitWith {0};
|
||||
round (60 / _fireRate)
|
||||
|
Loading…
Reference in New Issue
Block a user