mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 04:17:20 +00:00
fix #5184 [modify_unit]profile
This commit is contained in:
parent
d8dc94a5cd
commit
116687c983
@ -121,7 +121,7 @@ local function simple_modify_unit(cfg)
|
||||
u.status.guardian = true
|
||||
end
|
||||
if cfg.profile ~= nil then
|
||||
u.portrait = profile
|
||||
u.portrait = cfg.profile
|
||||
end
|
||||
if cfg.unrenamable ~= nil then
|
||||
u.renamable = not cfg.unrenamable
|
||||
|
Loading…
x
Reference in New Issue
Block a user