Skip to content

Commit

Permalink
fix #5184 [modify_unit]profile
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Oct 4, 2020
1 parent d8dc94a commit 116687c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/lua/wml/modify_unit.lua
Expand Up @@ -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
Expand Down

0 comments on commit 116687c

Please sign in to comment.