Tutorial fails if player is in road building mode when military building finishes

Bug #1286576 reported by Hans Joachim Desserud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Low
Unassigned
widelands (Debian)
Fix Released
Unknown

Bug Description

Forwarded from the Debian bug tracker. Original description:

"in the tutorial game, the player must build military buildings, and when
they are finished, the tutorial proceeds with introducing mines.

if the player stays in road building mode after building the military
buildings, or if he is just building a road to an additional military
building, and the tutorial takes control to build a road into the
mountains, it is (unexpectedly, to the tutorial script) not presented
with the build menu, but with the road building menu (consisting of only
a red 'x' to abort road building), and fails with a in-game message "Lua
Coroutine Fa...":

[/tmp/buildd/widelands-18/src/scripting/scripting.h:42] [string
"map:init"]: 132: attempt to index local 'panel' (a nil value)"

For more details, see the Debian bug report.

I was able to reproduce this issue in r6843. I also noticed that if I tried to trigger it on earlier events it seemed to close road building mode before continuing.

Related branches

Changed in widelands (Debian):
status: Unknown → Confirmed
wl-zocker (wl-zocker)
Changed in widelands:
assignee: nobody → wl-zocker (wl-zocker)
Revision history for this message
SirVer (sirver) wrote :

Setting to incomplete for bug sweeping.

Changed in widelands:
status: Triaged → Incomplete
wl-zocker (wl-zocker)
Changed in widelands:
status: Incomplete → In Progress
GunChleoc (gunchleoc)
Changed in widelands:
status: In Progress → Fix Committed
wl-zocker (wl-zocker)
Changed in widelands:
assignee: wl-zocker (wl-zocker) → nobody
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

Changed in widelands (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.