mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Remove debug config
This commit is contained in:
parent
14d2a6ee69
commit
47c3ad1e5e
@ -19,21 +19,6 @@ class CfgAddons {
|
||||
};
|
||||
};
|
||||
};
|
||||
class ACE_Options {
|
||||
class GVAR(testOption) {
|
||||
displayName = "Config Test";
|
||||
description = "Config Description";
|
||||
default = 1;
|
||||
values[] = {"Yeah", "Naa"};
|
||||
};
|
||||
};
|
||||
class ACE_Colors {
|
||||
class GVAR(testColor) {
|
||||
displayName = "Color Config Test";
|
||||
description = "Color Config Description";
|
||||
default[] = {0,1,1,1};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
#include "CfgEventHandlers.hpp"
|
||||
|
@ -17,11 +17,9 @@ _changed = false;
|
||||
switch (_type) do {
|
||||
case (MENU_TAB_OPTIONS): {
|
||||
{
|
||||
if ((_x select 0) == _name) then {
|
||||
if (!((_x select 4) isEqualTo _newValue)) then {
|
||||
_changed = true;
|
||||
_x set [4, _newValue];
|
||||
};
|
||||
if (((_x select 0) == _name) && {!((_x select 4) isEqualTo _newValue)}) then {
|
||||
_changed = true;
|
||||
_x set [4, _newValue];
|
||||
};
|
||||
} foreach GVAR(clientSideOptions);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user