Skip to content

Commit

Permalink
fix:
Browse files Browse the repository at this point in the history
fix for missing setting, will default to true
  • Loading branch information
grimmier378 committed Apr 19, 2024
1 parent 396ec9a commit d5856f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bmHotbarClass.lua
Expand Up @@ -732,7 +732,7 @@ function BMHotbarClass:RenderButtons(Set)
local buttonID = string.format("##Button_%s_%d", Set, ButtonIndex)
local showLabel = true
local btnKey = BMSettings:GetButtonSectionKeyBySetIndex(Set, ButtonIndex)
if BMSettings.settings.Buttons[btnKey] ~= nil then
if BMSettings.settings.Buttons[btnKey] ~= nil and BMSettings.settings.Buttons[btnKey].ShowLabel ~= nil then
showLabel = BMSettings.settings.Buttons[btnKey].ShowLabel
end
ImGui.PushID(buttonID)
Expand Down

0 comments on commit d5856f3

Please sign in to comment.