← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/seafaring-final-objective into lp:widelands

 

GunChleoc has proposed merging lp:~widelands-dev/widelands/seafaring-final-objective into lp:widelands.

Commit message:
Removes the final objective in the Seafaring tutorial when it has been achieved by the player.

Requested reviews:
  Widelands Developers (widelands-dev)

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/seafaring-final-objective/+merge/301060

In the Seafaring tutorial, the final objective would still sit there after having been achieved.
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/seafaring-final-objective into lp:widelands.
=== modified file 'data/campaigns/tutorial03_seafaring.wmf/scripting/mission_thread.lua'
--- data/campaigns/tutorial03_seafaring.wmf/scripting/mission_thread.lua	2015-10-31 12:11:44 +0000
+++ data/campaigns/tutorial03_seafaring.wmf/scripting/mission_thread.lua	2016-07-25 12:46:52 +0000
@@ -60,7 +60,7 @@
    while not _ship_ready_for_expedition() do sleep(1000) end
    o.done = true
 
-   local o2 = message_box_objective(plr, expedition3)
+   o = message_box_objective(plr, expedition3)
 
    while #plr:get_buildings("atlanteans_port") < 3 do sleep(200) end
    o.done = true


Follow ups