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

View File

@ -34,12 +34,12 @@ namespace cheat::feature
void AutoFish::DrawMain()
{
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();
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