forked from rosebudai/OpenRCT2-Web
Fix #4713: preserved rides tab in the wrong tool?
Ride check for showing the preserved rides tab was the wrong way round.
This commit is contained in:
1 parent
aabee64cec
commit
09c37d6465
1 file changed
+1
-1
@@ -1246,7 +1246,7 @@ static void window_editor_objective_options_update_disabled_widgets(rct_window *
|
||||
}
|
||||
}
|
||||
|
||||
if (numRides == 0) {
|
||||
if (numRides != 0) {
|
||||
w->disabled_widgets &= ~(1 << WIDX_TAB_2);
|
||||
} else {
|
||||
w->disabled_widgets |= (1 << WIDX_TAB_2);
|
||||
|
||||
Reference in new issue
Block a user