This commit is contained in:
maybegreat48
2025-06-17 03:54:03 -04:00
parent 1b14a8eb1f
commit 2d3244c4ab
2 changed files with 2 additions and 5 deletions
+2 -3
View File
@@ -8,7 +8,7 @@
namespace YimMenu::Features
{
static constexpr std::pair<int, const char*> ExplosionTypeArray[] = {
static const std::vector<std::pair<int, const char*>> g_ExplosionTypeArray = {
{static_cast<int>(ExplosionType::DONTCARE), "Don't Care"},
{static_cast<int>(ExplosionType::GRENADE), "Grenade"},
{static_cast<int>(ExplosionType::GRENADELAUNCHER), "Grenade Launcher"},
@@ -100,8 +100,7 @@ namespace YimMenu::Features
"selectedexplosion",
"Explosion Type",
"Select an explosion type",
std::begin(ExplosionTypeArray),
std::end(ExplosionTypeArray),
g_ExplosionTypeArray,
static_cast<int>(ExplosionType::BULLET)};
static FloatCommand _ExplosionDamageScale{
@@ -42,8 +42,6 @@ namespace YimMenu
ImGui::BulletText("Press any registered key to remove");
ImGui::Separator();
HotkeySetter(m_Command->GetHash()).Draw();
ImGui::Spacing();
if (ImGui::Button("Close") || ((!ImGui::IsWindowHovered() && !ImGui::IsAnyItemHovered()) && ImGui::IsMouseClicked(ImGuiMouseButton_Left)))