ace_settings: remove debug stuff

This commit is contained in:
Nicolás Badano 2015-02-08 18:36:00 -03:00
parent e6bd4c631c
commit 8a26fbc957
2 changed files with 1 additions and 2 deletions

View File

@ -39,7 +39,6 @@ if (_settingData select 6) exitWith {};
_failed = false;
if ((typeName _value) != (_settingData select 1)) then {
_failed = true;
diag_log (typeName _value);
if ((_settingData select 1) == "BOOL" and (typeName _value) == "SCALAR") then {
// If value is not 0 or 1 consider it invalid and don't set anything
if (_value == 0) then {

View File

@ -18,7 +18,7 @@ _fnc_getValueWithType = {
EXPLODE_2_PVT(_this,_optionEntry,_typeName);
_value = getNumber (_optionEntry >> "value");
diag_log text format ["%1 %2: %3", configName _optionEntry, _typeName, _value];
TRACE_3("_fnc_getValueWithType:", configName _optionEntry, _typeName, _value);
if (_typeName == "BOOL") exitWith {
_value > 0
};