Fix the unit portrait being displayed with only second_image is provided
This commit is contained in:
parent
15bea098c4
commit
420a9fa7c0
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ local function get_image(cfg, speaker)
|
|||
local image = cfg.image
|
||||
local left_side = true
|
||||
|
||||
if speaker and (image == nil or image == "") then
|
||||
if speaker and (image == nil or image == "") and (cfg.second_image == nil or cfg.second_image == "") then
|
||||
image = speaker.portrait
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue