Skip to content

Commit

Permalink
Glasses BonusId改回小值。
Browse files Browse the repository at this point in the history
  • Loading branch information
MeowZWR committed Oct 4, 2024
1 parent 6b6bcb9 commit cc39593
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Glamourer/Designs/DesignBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ protected JObject SerializeBonusItems()
var item = _designData.BonusItem(slot);
ret[slot.ToString()] = new JObject()
{
["BonusId"] = item.CustomId.Id,
["BonusId"] = item.Id.Id,
["Apply"] = DoApplyBonusItem(slot),
};
}
Expand Down
2 changes: 2 additions & 0 deletions Glamourer/Designs/DesignManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ private void LoadDesigns(DesignLinkLoader linkLoader)

design.Index = Designs.Count;
Designs.Add(design);

SaveService.ImmediateSave(design);
}

var failed = MoveInvalidNames(invalidNames);
Expand Down

0 comments on commit cc39593

Please sign in to comment.