Make wesnoth.sides[n].scroll_to_leader RW instead of RO
This commit is contained in:
parent
74915e33bf
commit
99df0ed831
2 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@ Version 1.11.6+dev:
|
|||
* Language and i18n:
|
||||
* Updated translations: Lithuanian
|
||||
* Lua API:
|
||||
* Added scroll_to_leader field to wesnoth.sides table elements.
|
||||
* Added scroll_to_leader field (read/write) to wesnoth.sides table elements.
|
||||
* WML engine:
|
||||
* [store_side] now stores the scroll_to_leader attribute from sides.
|
||||
* Miscellaneous and bug fixes:
|
||||
|
|
|
@ -1657,6 +1657,7 @@ static int impl_side_set(lua_State *L)
|
|||
modify_int_attrib("recall_cost", t.set_recall_cost(value));
|
||||
modify_int_attrib("base_income", t.set_base_income(value));
|
||||
modify_bool_attrib("objectives_changed", t.set_objectives_changed(value));
|
||||
modify_bool_attrib("scroll_to_leader", t.set_scroll_to_leader(value));
|
||||
modify_tstring_attrib("user_team_name", t.change_team(t.team_name(), value));
|
||||
modify_string_attrib("team_name", t.change_team(value, t.user_team_name()));
|
||||
modify_string_attrib("controller", t.change_controller(value));
|
||||
|
|
Loading…
Add table
Reference in a new issue