Remove debug config

This commit is contained in:
PabstMirror 2015-01-22 00:17:31 -06:00
parent 14d2a6ee69
commit 47c3ad1e5e
2 changed files with 3 additions and 20 deletions

View File

@ -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"

View File

@ -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);
};