From d88cc5f58dd8bea0b7f18c4062fbfc72fd8a43a6 Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Wed, 29 Jan 2025 23:08:34 -0300 Subject: [PATCH] correction --- src/port/mods/PortEnhancements.c | 6 +++--- src/port/ui/ImguiUI.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/port/mods/PortEnhancements.c b/src/port/mods/PortEnhancements.c index 33b6b27b..d41b1077 100644 --- a/src/port/mods/PortEnhancements.c +++ b/src/port/mods/PortEnhancements.c @@ -267,7 +267,7 @@ static const char* sBoostGaugeArrow[] = { }; void OnBoostGaugeDraw(IEvent* event){ - bool restore = CVarGetInteger("gRestoreOldBoostGauge", 0) == 1; + bool restore = CVarGetInteger("gRestoreBetaBoostGauge", 0) == 1; if(!restore){ return; @@ -286,7 +286,7 @@ void OnBoostGaugeDraw(IEvent* event){ } void OnBombCounterDraw(IEvent* ev){ - bool restore = CVarGetInteger("gRestoreOldBoostGauge", 0) == 1; + bool restore = CVarGetInteger("gRestoreBetaBoostGauge", 0) == 1; if(!restore){ return; } @@ -296,7 +296,7 @@ void OnBombCounterDraw(IEvent* ev){ } void OnLivesCounterDraw(IEvent* ev){ - bool restore = CVarGetInteger("gRestoreOldBoostGauge", 0) == 1; + bool restore = CVarGetInteger("gRestoreBetaBoostGauge", 0) == 1; if(!restore){ return; } diff --git a/src/port/ui/ImguiUI.cpp b/src/port/ui/ImguiUI.cpp index b2330021..f20e7ca2 100644 --- a/src/port/ui/ImguiUI.cpp +++ b/src/port/ui/ImguiUI.cpp @@ -481,8 +481,8 @@ void DrawEnhancementsMenu() { .tooltip = "Restores the beta coin that got replaced with the gold ring" }); - UIWidgets::CVarCheckbox("Beta: Restore old boost/brake gauge", "gRestoreOldBoostGauge", { - .tooltip = "Restores the old boost gauge that was seen in some beta footage" + UIWidgets::CVarCheckbox("Beta: Restore beta boost/brake gauge", "gRestoreBetaBoostGauge", { + .tooltip = "Restores the beta boost gauge that was seen in some beta footage" }); ImGui::EndMenu();