lua bug in "Together we are strong" map

Bug #975495 reported by Borim
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Low
Unassigned

Bug Description

I played the map together we are strong and after i destroyed the last building of my opponent an error message is displayed instead of a victory message:

Error in Lua Coroutine
[c:/data/repo/trunk/src/scripting/scripting.h:45] [string "aux:win_condition_functions"]:27: attempt to concatenate local 'name' (a nil value)

version: build 17-rc1, windows
map played as szenario

Tags: lua
Revision history for this message
SirVer (sirver) wrote :

Indeed. It is not a critical bug though, therefore not for build 17. The attached patch fixes the problem and should be merged just after build 17 is out of the door.

Changed in widelands:
status: New → In Progress
importance: Undecided → Low
milestone: none → build18-rc1
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Sounds similar to bug 940608. I guess someone should check if more win conditions try to look up player names.

tags: added: lua
Revision history for this message
SirVer (sirver) wrote :

Fixed in r6350.

Changed in widelands:
status: In Progress → Fix Committed
Revision history for this message
SirVer (sirver) wrote :

Released in build-18 rc1.

Changed in widelands:
status: Fix Committed → 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.