Add scroll_to_leader field to the [store_side] WML action
This commit is contained in:
parent
cc26e1054a
commit
74915e33bf
2 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,8 @@ Version 1.11.6+dev:
|
|||
* Updated translations: Lithuanian
|
||||
* Lua API:
|
||||
* Added scroll_to_leader field to wesnoth.sides table elements.
|
||||
* WML engine:
|
||||
* [store_side] now stores the scroll_to_leader attribute from sides.
|
||||
* Miscellaneous and bug fixes:
|
||||
* Added -256 and -512 color shifts to FADE_TO_BLACK and FADE_TO_BLACK_HOLD
|
||||
macros to account for ToD color shifts greater than -31, guaranteeing complete
|
||||
|
|
|
@ -1012,6 +1012,7 @@ function wml_actions.store_side(cfg)
|
|||
user_team_name = t.user_team_name,
|
||||
color = t.color,
|
||||
gold = t.gold,
|
||||
scroll_to_leader = t.scroll_to_leader,
|
||||
side = side_number
|
||||
}
|
||||
wesnoth.set_variable(string.format("%s[%u]", variable, index), container)
|
||||
|
|
Loading…
Add table
Reference in a new issue