Divergent/mods/Spas-12 Reanimation/gamedata/scripts/shotgun_reload_fix.script

19 lines
353 B
Plaintext
Raw Permalink Normal View History

2024-03-17 20:18:03 -04:00
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