Latest Posts

Topic: Error in Documentation on Homepage

MarkMcWire
Avatar
Topic Opener
Joined: 2017-02-08, 21:06
Posts: 321
Ranking
Tribe Member
Location: Eisenach, Germany
Posted at: 2019-09-30, 02:36

-> https://www.widelands.org/documentation/productionsite_program/#return

failure_handling_method ::= Fail | Repeat | Ignore

If I use call=program on failure ignore, than I got a game engine (lua) error message.

Using call=program on failure skip does work.

So you need to change "Ignore" in "skip" in the documentation.


My widelands project: https://github.com/widelands/wl_addons_server/tree/master/addons/europeans_tribe.wad

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2019-09-30, 10:04

It's been a while since we've updated that document. Thanks for letting us know; I have fixed it and the change should appear on the homepage soon.

Edited: 2019-09-30, 10:05

Busy indexing nil values

Top Quote