@@ -645,7 +645,7 @@ function DecisionDay:SetTableValueByKey(tableToSetValueFor, keyToLoad)
645
645
local existingValueType = type (existingValue );
646
646
647
647
if existingValueType == " nil" then
648
- print (" Loading Error: Tried to load " .. tableKey .. " but there's no existing value for it!" );
648
+ (" 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
- print (" Loading Error: Tables are not supported, use . for subkeys!" )
658
+ (" 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
- print (" Loading Error: The only supported userdata type is Timer!" );
664
+ (" Loading Error: The only supported userdata type is Timer!" );
665
665
end
666
666
end
667
667
end
@@ -1246,7 +1246,6 @@ function DecisionDay:SpawnAndUpdateInitialDropShips()
1246
1246
if initialDropShipAndVelocity .dropShip .TravelImpulse .Magnitude > 10 or initialDropShipAndVelocity .dropShip .Age > 100000 then
1247
1247
initialDropShipAndVelocity .dropShip :GibThis ();
1248
1248
end
1249
- print (initialDropShipAndVelocity .dropShip .Age )
1250
1249
end
1251
1250
end
1252
1251
end
@@ -2524,4 +2523,4 @@ function DecisionDay:CreateCrab(team, createTurret)
2524
2523
actor .Team = team ;
2525
2524
actor .PlayerControllable = createTurret or self .humansAreControllingAlliedActors ;
2526
2525
return actor ;
2527
- end
2526
+ end
0 commit comments