Merge pull request #224 from nnoc/autofish-fixdelaylabels

Fixed AutoFish delays ImGui labels having same id
This commit is contained in:
Callow 2022-07-07 03:11:44 +03:00 committed by GitHub
commit 168775b0ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,12 +34,12 @@ namespace cheat::feature
void AutoFish::DrawMain() void AutoFish::DrawMain()
{ {
ConfigWidget("Enabled", f_Enabled, "Automatically catch fish."); ConfigWidget("Enabled", f_Enabled, "Automatically catch fish.");
ConfigWidget("Delay (ms)", f_DelayBeforeCatch, 100, 500, 4000, "Fish will be caught after this delay (in ms)."); ConfigWidget("Catch Delay (ms)", f_DelayBeforeCatch, 100, 500, 4000, "Fish will be caught after this delay (in ms).");
ImGui::Spacing(); ImGui::Spacing();
ConfigWidget(f_AutoRecastRod, "If enabled, rod will recasted. Without visualization."); ConfigWidget(f_AutoRecastRod, "If enabled, rod will recasted. Without visualization.");
ConfigWidget("Delay (ms)", f_DelayBeforeRecast, 10, 100, 4000, "Rod will be recast after this delay (in ms)."); ConfigWidget("Recast Delay (ms)", f_DelayBeforeRecast, 10, 100, 4000, "Rod will be recast after this delay (in ms).");
} }
bool AutoFish::NeedStatusDraw() const bool AutoFish::NeedStatusDraw() const