Skip to content

Commit 2e8e613

Browse files
authored
Whoops
1 parent 6961f54 commit 2e8e613

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Data/Missions.rte/Activities/DecisionDay.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ function DecisionDay:SetTableValueByKey(tableToSetValueFor, keyToLoad)
645645
local existingValueType = type(existingValue);
646646

647647
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!");
649649
end
650650

651651
if existingValueType == "number" then
@@ -655,13 +655,13 @@ function DecisionDay:SetTableValueByKey(tableToSetValueFor, keyToLoad)
655655
elseif existingValueType == "boolean" then
656656
tableToSetValueFor[tableKey] = self:LoadNumber(keyToLoad) ~= 0;
657657
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!")
659659
elseif existingValueType == "userdata" then
660660
if existingValue.ElapsedSimTimeMS ~= nil then
661661
tableToSetValueFor[tableKey]:SetSimTimeLimitMS(self:LoadNumber(keyToLoad .. ".SimTimeLimitMS"));
662662
tableToSetValueFor[tableKey].ElapsedSimTimeMS = self:LoadNumber(keyToLoad .. ".ElapsedSimTimeMS");
663663
else
664-
("Loading Error: The only supported userdata type is Timer!");
664+
print("Loading Error: The only supported userdata type is Timer!");
665665
end
666666
end
667667
end

0 commit comments

Comments
 (0)