[animate_unit] now defaults to hits=yes if missing
This commit is contained in:
parent
f52d6499dc
commit
b37d7233d5
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ local function add_animation(anim, cfg)
|
|||
end
|
||||
|
||||
local hits = cfg.hits
|
||||
if hits == true then
|
||||
if hits == true or hits == nil then
|
||||
hits = 'hit'
|
||||
elseif hits == false then
|
||||
hits = 'miss'
|
||||
|
|
Loading…
Add table
Reference in a new issue