Skip to content

Commit

Permalink
add rate limiter config (when did this disappear?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaksuhn committed Oct 17, 2024
1 parent df7fc39 commit 75402ac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions YesAlready/UI/Tabs/Bothers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,19 @@ public static void Draw()
}
ImGuiEx.IndentedTextColored("Eureka/Bozja lockboxes, forgotten fragments, and more. Warning: this does not check if you are maxed on items. Rate limiter (pause after N items).");

if (itemInspection)
{
ImGui.Indent();
var rateLimit = P.Config.ItemInspectionResultRateLimiter;
if (ImGui.InputInt(string.Empty, ref rateLimit))
{
P.Config.ItemInspectionResultRateLimiter = rateLimit;
P.Config.Save();
}
ImGui.Unindent();
ImGuiEx.IndentedTextColored("Rate limiter (pause after N items, 0 to disable).");
}

var grandCompanySupplyReward = P.Config.GrandCompanySupplyReward;
if (ImGui.Checkbox("GrandCompanySupplyReward", ref grandCompanySupplyReward))
{
Expand Down

0 comments on commit 75402ac

Please sign in to comment.