correction
Some checks failed
GenerateBuilds / generate-port-o2r (push) Has been cancelled
GenerateBuilds / build-linux (push) Has been cancelled
GenerateBuilds / build-windows (push) Has been cancelled
GenerateBuilds / build-macos (push) Has been cancelled

This commit is contained in:
Sonic Dreamcaster 2025-01-29 23:08:34 -03:00
parent ab20588a88
commit d88cc5f58d
2 changed files with 5 additions and 5 deletions

View File

@ -267,7 +267,7 @@ static const char* sBoostGaugeArrow[] = {
}; };
void OnBoostGaugeDraw(IEvent* event){ void OnBoostGaugeDraw(IEvent* event){
bool restore = CVarGetInteger("gRestoreOldBoostGauge", 0) == 1; bool restore = CVarGetInteger("gRestoreBetaBoostGauge", 0) == 1;
if(!restore){ if(!restore){
return; return;
@ -286,7 +286,7 @@ void OnBoostGaugeDraw(IEvent* event){
} }
void OnBombCounterDraw(IEvent* ev){ void OnBombCounterDraw(IEvent* ev){
bool restore = CVarGetInteger("gRestoreOldBoostGauge", 0) == 1; bool restore = CVarGetInteger("gRestoreBetaBoostGauge", 0) == 1;
if(!restore){ if(!restore){
return; return;
} }
@ -296,7 +296,7 @@ void OnBombCounterDraw(IEvent* ev){
} }
void OnLivesCounterDraw(IEvent* ev){ void OnLivesCounterDraw(IEvent* ev){
bool restore = CVarGetInteger("gRestoreOldBoostGauge", 0) == 1; bool restore = CVarGetInteger("gRestoreBetaBoostGauge", 0) == 1;
if(!restore){ if(!restore){
return; return;
} }

View File

@ -481,8 +481,8 @@ void DrawEnhancementsMenu() {
.tooltip = "Restores the beta coin that got replaced with the gold ring" .tooltip = "Restores the beta coin that got replaced with the gold ring"
}); });
UIWidgets::CVarCheckbox("Beta: Restore old boost/brake gauge", "gRestoreOldBoostGauge", { UIWidgets::CVarCheckbox("Beta: Restore beta boost/brake gauge", "gRestoreBetaBoostGauge", {
.tooltip = "Restores the old boost gauge that was seen in some beta footage" .tooltip = "Restores the beta boost gauge that was seen in some beta footage"
}); });
ImGui::EndMenu(); ImGui::EndMenu();