mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cleanup
This commit is contained in:
parent
e0506f29bc
commit
826b4fd20b
@ -44,8 +44,8 @@ TRACE_1("Reading missionConfigFile params",_paramsArray);
|
||||
|
||||
// The setting is not forced, so update the value
|
||||
// Read entry and cast it to the correct type from the existing variable
|
||||
_validValue = false;
|
||||
_value = switch (true) do {
|
||||
local _validValue = false;
|
||||
switch (true) do {
|
||||
case (_typeName == "SCALAR"): {_validValue = true;};
|
||||
case (_typeName == "BOOL"): {
|
||||
_settingValue = _settingValue > 0;
|
||||
|
Loading…
Reference in New Issue
Block a user