mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-10 04:02:26 +03:00
correction
This commit is contained in:
parent
ab20588a88
commit
d88cc5f58d
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user