fix bug #19188 the way I envisioned it

This commit is contained in:
Anonymissimus 2011-12-16 20:14:08 +00:00
parent bbaa97e898
commit 7b9233abe6
2 changed files with 12 additions and 0 deletions

View file

@ -195,6 +195,12 @@ Recruiting"
name= _"Lisar"
canrecruit=yes
[/unit]
[lua]
code=<<
local _ = wesnoth.textdomain("wesnoth-tutorial")
wesnoth.sides[1].current_player = tostring(_"Lisar") --# wmllint: ignore
>>
[/lua]
[redraw][/redraw]
[/command]
[/option]

View file

@ -412,6 +412,12 @@
equals=female
[/variable]
[then]
[lua]
code=<<
local _ = wesnoth.textdomain("wesnoth-tutorial")
wesnoth.sides[1].current_player = tostring(_"Lisar") --# wmllint: ignore
>>
[/lua]
[store_unit]
[filter]
id=student