danreeves / darktide-mods

11 stars 9 forks source link

grenade counters for team members #62

Open Omerside opened 1 year ago

Omerside commented 1 year ago

adds two options for displaying teammate grenades: using icons or using numbers.

Omerside commented 1 year ago

Before merging, there's one problem I'd like your help with. I'm getting the following error: <<Script Error>>...ension_systems/ability/player_unit_ability_extension.lua:628: attempt to index local 'ability' (a nil value)<</Script Error>> <<Lua Stack>> [1] @scripts/extension_systems/ability/player_unit_ability_extension.lua:628: in function _ability_max_charges [2] @scripts/extension_systems/ability/player_unit_ability_extension.lua:622: in function max_ability_charges [3] ./../mods/NumericUI/scripts/mods/NumericUI/TeamPlayerPanel.lua:533: in function hook_chain

Seems to be caused by the line name = mod:localize("mod_name"),, which replaced name = "Numeric UI" in NumericUI_data. Any idea what might have broken?