19 lines
353 B
Plaintext
19 lines
353 B
Plaintext
|
local fix_anims = {
|
||
|
|
||
|
["anm_add_cartridge"] = true,
|
||
|
["anm_close"] = true,
|
||
|
["anm_close_empty"] = true,
|
||
|
|
||
|
}
|
||
|
|
||
|
function actor_on_hud_animation_play(anm_table)
|
||
|
|
||
|
if (fix_anims[anm_table.anm_name]) then
|
||
|
anm_table.anm_mixin = false
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|
||
|
function on_game_start()
|
||
|
--RegisterScriptCallback("actor_on_hud_animation_play", actor_on_hud_animation_play)
|
||
|
end
|