Skip to content

Commit

Permalink
Fix 11.0 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghostopheles committed Jun 11, 2024
1 parent 6e570cf commit eefe910
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Datamine/Settings/SettingsCore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ local Events = Datamine.Events;
local Registry = Datamine.EventRegistry;

local CreateCheckbox = Settings.CreateCheckbox or Settings.CreateCheckBox;
local CreateDropdownInitializer = Settings.CreateDropdownInitializer or Settings.CreateDropDownInitializer;

Datamine.Settings = {};

Expand Down Expand Up @@ -157,7 +158,7 @@ end
Datamine.Settings.CreateCheckbox = CreateCheckboxForSetting;

local function CreateDropdown(category, setting, options, tooltip)
local initializer = Settings.CreateDropDownInitializer(setting, options, tooltip);
local initializer = CreateDropdownInitializer(setting, options, tooltip);
local layout = SettingsPanel:GetLayout(category);
layout:AddInitializer(initializer);

Expand Down

0 comments on commit eefe910

Please sign in to comment.