Crash with set_wares in warfare tutorial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Unassigned |
Bug Description
When starting the warfare tuorial, the following crash happens:
WidelandsMapLo
[sync] Reset
ComputerPlayer(2): initializing as type 2
2: expedition max duration = 3600 (60 minutes), map area root: 64
Trying to run: map:scripting/
Forcing flag at (34, 58)
Message: adding warehouse for player 1 at (33, 57)
Forcing flag at (29, 58)
Forcing flag at (38, 62)
Forcing flag at (30, 59)
Forcing flag at (32, 59)
Fatal exception: lua: [C:\projects\
stack traceback:
[string "scripting/
FATAL ERROR - game crashed. Attempting emergency save.
Game: Writing Preload Data ...
Related branches
- GunChleoc: Approve
-
Diff: 11 lines (+1/-1)1 file modifieddata/campaigns/tutorial02_warfare.wmf/scripting/starting_conditions.lua (+1/-1)
Changed in widelands: | |
status: | New → Fix Committed |
The barracks are involved here.
bdescr.wares - returns table, but should not
bdescr.inputs - returns nil, but should return table
if I am right, for productionsites it should be this way. Or not?