Merge lp:~widelands-dev/widelands/bug-1638280-coroutine-messages into lp:widelands
Proposed by
GunChleoc
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 8745 | ||||
Proposed branch: | lp:~widelands-dev/widelands/bug-1638280-coroutine-messages | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
33 lines (+11/-4) 1 file modified
src/logic/cmd_luacoroutine.cc (+11/-4) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1638280-coroutine-messages | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Notabilis | Approve | ||
Review via email: mp+349058@code.launchpad.net |
Commit message
Do not broadcast Lua coroutine error messages to empty player slots. Also, use richtext_escape on them.
Description of the change
To reproduce the crash, add an unused ware to a prefilled building in a starting condition and close a player slot.
With the changes in this branch, players should get a coroutine error message instead of a crash.
To post a comment you must log in.
Continuous integration builds have changed state:
Travis build 3628. State: passed. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 400902520. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ bug_1638280_ coroutine_ messages- 3427.
Appveyor build 3427. State: failed. Details: https:/