Skip to content

Commit

Permalink
Fix unlock issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Critical-Impact committed Dec 6, 2024
1 parent ded6d01 commit daf54ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CriticalCommonLib
2 changes: 1 addition & 1 deletion InventoryTools/Tooltips/DisplayUnlockTooltip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public override unsafe void OnGenerateItemTooltip(NumberArrayData* numberArrayDa
var textLines = Configuration.AcquiredItems.
Where(c => characterSetting.Count == 0 || characterSetting.Contains(c.Key)).
Where(c => _characterMonitor.Characters.ContainsKey(c.Key)).
Select(c => _characterMonitor.GetCharacterById(c.Key)!.FormattedName + " - " + (c.Value.Contains(item.RowId) ? "Acquired" : "Not Acquired") + "\n").ToList();
Select(c => _characterMonitor.GetCharacterById(c.Key)!.FormattedName + " - " + (c.Value.Contains(item.RowId) ? "Acquired" : "Not Acquired") + "\n").OrderBy(c => c).ToList();

var newText = "";
if (textLines.Count != 0)
Expand Down

0 comments on commit daf54ee

Please sign in to comment.