Fix wrong type

not much of big dealy really
This commit is contained in:
Joaquin 2022-09-10 01:50:39 -06:00
parent 97bdb137ec
commit ce0f7e4597
2 changed files with 2 additions and 2 deletions

View File

@ -269,7 +269,7 @@ namespace cheat::feature
ConfigWidget("Apply Key", f_ApplyKey, true);
ConfigWidget("Reset Key", f_ResetKey, true);
ConfigWidget("Delay", f_Delay, 1.0f, 1.0f, 1000000000.0f, "Delay to repeat animation");
ConfigWidget("Delay", f_Delay, 1, 1, 1000000000, "Delay to repeat animation");
}
}
ImGui::EndGroupPanel();

View File

@ -12,7 +12,7 @@ namespace cheat::feature
config::Field<std::string> f_Animation;
config::Field<Hotkey> f_ApplyKey;
config::Field<Hotkey> f_ResetKey;
config::Field<float> f_Delay;
config::Field<int> f_Delay;
const FeatureGUIInfo& GetGUIInfo() const override;
void DrawMain() override;