Skip to content

Commit

Permalink
S&R: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
laarmen committed May 23, 2016
1 parent 1e73f80 commit 74df0cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/modules/SearchRescue/SearchRescue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -989,15 +989,15 @@ local discardShip = function (ship)
local nearbysystems = findNearbySystems(with_stations)
if #nearbysystems > 0 then
Timer:CallAt(Game.time + Engine.rand:Integer(5,10), function ()
ship:AIEnterLowOrbit(ship:FindNearestTo("PLANET") or ship:FindeNearestTo("STAR"))
ship:AIEnterLowOrbit(ship:FindNearestTo("PLANET") or ship:FindNearestTo("STAR"))
Timer:CallAt(Game.time + 5, function () ship:InitiateHyperjumpTo(nearbysystems[1], 3, 10) end)
end)
else
with_stations = false
nearbysystems = findNearbySystems(with_stations)
if #nearbysystems > 0 then
Timer:CallAt(Game.time + Engine.rand:Integer(5,10), function ()
ship:AIEnterLowOrbit(ship:FindNearestTo("PLANET") or ship:FindeNearestTo("STAR"))
ship:AIEnterLowOrbit(ship:FindNearestTo("PLANET") or ship:FindNearestTo("STAR"))
Timer:CallAt(Game.time + 5, function () ship:InitiateHyperjumpTo(nearbysystems[1], 3, 10) end)
end)
end
Expand Down

0 comments on commit 74df0cb

Please sign in to comment.