mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 12:12:43 +00:00
Fix missing image in the test scenario sample dialog
This commit is contained in:
parent
f57217f6c4
commit
b3033ee0bd
@ -1265,7 +1265,7 @@ local result = wesnoth.synchronize_choice(function()
|
||||
local function select()
|
||||
local i = dialog.the_list.selected_index
|
||||
local ut = wesnoth.unit_types[types[i]].__cfg
|
||||
local profile = string.gsub(ut.profile, "([^/]+)$", "transparent/%1")
|
||||
local profile = ut.profile
|
||||
if dialog.flip.selected_index == 1 then profile = profile .. "~FL()" end
|
||||
dialog.the_image.label = profile
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user