We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cda114 commit 4c8cc1cCopy full SHA for 4c8cc1c
1 file changed
SaveLoadX/data/tables/saveload2-sct.tbm
@@ -194,7 +194,7 @@ function SaveState:GetShipData(shipname)
194
if (order:getType() == ORDER_WAYPOINTS) or (order:getType() == ORDER_WAYPOINTS_ONCE) then
195
--tt.Target = order.Target:getList().Name
196
else
197
- if order.Target and order.Target:isValid() then
+ if order.Target and order.Target:isValid() and order.Target:getBreedName() == "Ship" then
198
tt.Target = order.Target.Name
199
ba.print(" Target: " .. tostring(tt.Target) .. "\n")
200
end
0 commit comments