mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
ace_settings: remove debug stuff
This commit is contained in:
parent
e6bd4c631c
commit
8a26fbc957
@ -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 {
|
||||
|
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user