Update addons/cargo/initSettings.inc.sqf

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
Drofseh 2024-05-26 23:56:29 -07:00 committed by GitHub
parent 3306f13764
commit dafb05545d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,7 +35,7 @@ private _category = [ELSTRING(main,Category_Logistics), LSTRING(openMenu)];
"SLIDER",
[LSTRING(unloadOnKilled), LSTRING(unloadOnKilled_description)],
_category,
[0, 100, 1, 0],
[0, 1, 0, 1, true], // [_min, _max, _default, _trailingDecimals, _isPercentage]
1,
{[QGVAR(unloadOnKilled), _this, true] call EFUNC(common,cbaSettings_settingChanged)}
] call CBA_fnc_addSetting;