Skip to content

Commit

Permalink
Regular queue, dash name fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
erdelf committed Jan 11, 2025
1 parent ccd952b commit faa8a41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AutoDuty/Helpers/QueueHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ private static void QueueRegular()
return;
}

var selectedDutyName = _addonContentsFinder->AtkValues[18].GetValueAsString().Replace("\u0002\u001a\u0002\u0002\u0003", string.Empty).Replace("\u0002\u001a\u0002\u0001\u0003", string.Empty);
var selectedDutyName = _addonContentsFinder->AtkValues[18].GetValueAsString().Replace("\u0002\u001a\u0002\u0002\u0003", string.Empty).Replace("\u0002\u001a\u0002\u0001\u0003", string.Empty).Replace("\u0002\u001f\u0001\u0003", "\u2013");
if (selectedDutyName != _content!.Name && !string.IsNullOrEmpty(selectedDutyName))
{
Svc.Log.Debug($"Queue Helper - We have {selectedDutyName} selected, not {_content.Name}, Clearing");
Svc.Log.Debug($"Queue Helper - We have {selectedDutyName} selected, not {_content.Name}, Clearing.");
AddonHelper.FireCallBack((AtkUnitBase*)_addonContentsFinder, true, 12, 1);
return;
}
Expand Down

0 comments on commit faa8a41

Please sign in to comment.