lua bug in "Together we are strong" map

Bug #975495 reported by Borim on 2012-04-06
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
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 Edit Tag help
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
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
SirVer (sirver) wrote :

Fixed in r6350.

Changed in widelands:
status: In Progress → Fix Committed
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  Edit
Everyone can see this information.

Other bug subscribers