File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Data/Missions.rte/Activities Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -645,7 +645,7 @@ function DecisionDay:SetTableValueByKey(tableToSetValueFor, keyToLoad)
645
645
local existingValueType = type (existingValue );
646
646
647
647
if existingValueType == " nil" then
648
- (" Loading Error: Tried to load " .. tableKey .. " but there's no existing value for it!" );
648
+ print (" Loading Error: Tried to load " .. tableKey .. " but there's no existing value for it!" );
649
649
end
650
650
651
651
if existingValueType == " number" then
@@ -655,13 +655,13 @@ function DecisionDay:SetTableValueByKey(tableToSetValueFor, keyToLoad)
655
655
elseif existingValueType == " boolean" then
656
656
tableToSetValueFor [tableKey ] = self :LoadNumber (keyToLoad ) ~= 0 ;
657
657
elseif existingValueType == " table" then
658
- (" Loading Error: Tables are not supported, use . for subkeys!" )
658
+ print (" Loading Error: Tables are not supported, use . for subkeys!" )
659
659
elseif existingValueType == " userdata" then
660
660
if existingValue .ElapsedSimTimeMS ~= nil then
661
661
tableToSetValueFor [tableKey ]:SetSimTimeLimitMS (self :LoadNumber (keyToLoad .. " .SimTimeLimitMS" ));
662
662
tableToSetValueFor [tableKey ].ElapsedSimTimeMS = self :LoadNumber (keyToLoad .. " .ElapsedSimTimeMS" );
663
663
else
664
- (" Loading Error: The only supported userdata type is Timer!" );
664
+ print (" Loading Error: The only supported userdata type is Timer!" );
665
665
end
666
666
end
667
667
end
You can’t perform that action at this time.
0 commit comments