Skip to content

Commit

Permalink
Fix weapon state updating logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ottermandias committed Feb 7, 2024
1 parent 7653fd2 commit b228658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Glamourer/State/StateEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public void ApplyDesign(object data, MergedDesign mergedDesign, ApplySettings se
if (!mergedDesign.Design.DoApplyEquip(weaponSlot))
continue;

if (settings.RespectManual && !state.Sources[weaponSlot, false].IsManual())
if (settings.RespectManual && state.Sources[weaponSlot, false].IsManual())
continue;

var currentType = state.ModelData.Item(weaponSlot).Type;
Expand Down

0 comments on commit b228658

Please sign in to comment.