forked from rosebudai/OpenRCT2-Web
reliability progress bar no longer has min value of 10
This commit is contained in:
1 parent
936f5f231a
commit
ea1f17ab83
1 file changed
+1
-1
@@ -4032,7 +4032,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
return;
|
||||
|
||||
uint16_t reliability = ride->reliabilityPercentage;
|
||||
widgetProgressBarSetNewPercentage(widgets[WIDX_RELIABILITY_BAR], std::max<uint8_t>(10, reliability));
|
||||
widgetProgressBarSetNewPercentage(widgets[WIDX_RELIABILITY_BAR], reliability);
|
||||
|
||||
uint16_t downTime = ride->downtime;
|
||||
widgetProgressBarSetNewPercentage(widgets[WIDX_DOWN_TIME_BAR], downTime);
|
||||
|
||||
Reference in new issue
Block a user