mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
* Everything * Fixed missing ; * Fix missing ; and double private * Fixed cannot isNull on number * Turn _temparture back to isNil * Fix error from merge
36 lines
768 B
Plaintext
36 lines
768 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
* Resets all settings to default.
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [] call ACE_optionsmenu_fnc_onListBoxSettingsChanged
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
{
|
|
private _name = _x select 0;
|
|
private _default = _x select 7;
|
|
[MENU_TAB_OPTIONS, _name, _default] call FUNC(updateSetting);
|
|
} forEach GVAR(clientSideOptions);
|
|
|
|
{
|
|
private _name = _x select 0;
|
|
private _default = _x select 7;
|
|
[MENU_TAB_COLORS, _name, _default] call FUNC(updateSetting);
|
|
} forEach GVAR(clientSideColors);
|
|
|
|
private _lastSelected = lnbCurSelRow 200;
|
|
[GVAR(optionMenu_openTab)] call FUNC(onListBoxShowSelectionChanged);
|
|
if (_lastSelected != -1) then {
|
|
lnbSetCurSelRow [200, _lastSelected];
|
|
};
|