mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix typo.
This commit is contained in:
parent
8021ce4215
commit
e1f919303b
@ -3,9 +3,10 @@
|
||||
* Handle set AimCoef calls. Will use highest available setting.
|
||||
*
|
||||
* Arguments:
|
||||
* 0: id <STRING>
|
||||
* 1: settings <NUMBER>
|
||||
* 2: add [true] OR remove [false] (default: true) <BOOL>
|
||||
* 0: unit <OBJECT>
|
||||
* 1: id <STRING>
|
||||
* 2: settings <NUMBER>
|
||||
* 3: add [true] OR remove [false] (default: true) <BOOL>
|
||||
*
|
||||
* Return Value:
|
||||
* None
|
||||
@ -40,7 +41,7 @@ _map = _map select {
|
||||
};
|
||||
};
|
||||
|
||||
if (!exists && _add) then {
|
||||
if (!_exists && _add) then {
|
||||
_highestCoef = _highestCoef max _setting;
|
||||
_map pushBack [_id, _setting];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user