Skip to content

Commit

Permalink
remove debug prints from last commit and reference #1328
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianetta committed Jul 5, 2012
1 parent c4a88d9 commit 7cdb151
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions data/modules/TradeShips.lua
Expand Up @@ -190,7 +190,6 @@ local getNearestStarport = function (ship, current)
local trader = trade_ships[ship]
local starport = starports[1]
print ('*** ',ship.shipType,' ',trader.ATMOSHIELD)
-- Get distance to arbitrary first starport
local distance = ship:DistanceTo(starport)
local canland = (trader.ATMOSHIELD or (starport.type == 'STARPORT_ORBITAL') or (not starport.path:GetSystemBody().parent.hasAtmosphere))
Expand All @@ -204,7 +203,6 @@ print ('*** ',ship.shipType,' ',trader.ATMOSHIELD)
end
end
end
print(' ',starport and starport.label or starports[1].label)
return starport or starports[1]
end
Expand Down

0 comments on commit 7cdb151

Please sign in to comment.