mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-15 13:14:17 +01:00
Fix inefficient fetching of mod settings.
This commit is contained in:
parent
12fa14e1c6
commit
f6e74c06cc
2 changed files with 25 additions and 4 deletions
|
|
@ -115,7 +115,7 @@ public class ModAssociationsTab
|
|||
|
||||
if (ImGui.IsItemHovered())
|
||||
{
|
||||
var (_, newSettings) = _penumbra.GetMods().FirstOrDefault(m => m.Mod == mod);
|
||||
var newSettings = _penumbra.GetModSettings(mod);
|
||||
if (ImGui.IsItemClicked())
|
||||
updatedMod = (mod, newSettings);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue