Merge lp:~widelands-dev/widelands/bug-1455732 into lp:widelands
Proposed by
GunChleoc
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 7468 | ||||
Proposed branch: | lp:~widelands-dev/widelands/bug-1455732 | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
168 lines (+66/-33) 3 files modified
src/scripting/lua_map.cc (+46/-20) src/scripting/lua_map.h (+19/-12) tribes/scripting/format_help.lua (+1/-1) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1455732 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
TiborB | Approve | ||
GunChleoc | Needs Resubmitting | ||
Hans Joachim Desserud | Needs Fixing | ||
Review via email: mp+259326@code.launchpad.net |
Description of the change
This fixes a bug in the Tribal Encyclopedia where Dismantlesites weren't persisted.
We still have a bug with the Constructionsite that I can't figure out.
To post a comment you must log in.
Hi, I did some quick testing of this patch. I found that if any mine is selected, I get a similar crash when attempting to save. I guess that needs a similar fix.
I saw some crashes when selecting dismantling site and then something else, but those might have been caused by the other building happening to be a mine. Hard to tell, but I can check again once that's fixed.
I only skimmed the code changes, but thumbs up for replacing the if statements with a switch, :)