--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua Wed Jan 16 06:10:30 2019 +0100
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua Wed Jan 16 06:24:50 2019 +0100
@@ -154,7 +154,7 @@
startSequence = true
AnimSetGearPosition(hero.gear, 1110, 850)
elseif checkPointReached == 5 then
- startSequence = false
+ startSequence = status.death01 and not status.final
-- Hero has visited a planet, he has plenty of fuels and can change planet
if GetCampaignVar("Planet") == "moon" then
AnimSetGearPosition(hero.gear, 1110, 850)
@@ -191,6 +191,8 @@
else
ShowMission(unpack(goals["open_side_missions"]))
end
+ elseif status.death01 and not status.final then
+ HideMission()
else
ShowMission(unpack(goals["init"]))
end