mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 07:43:01 +01:00
This fixes it for rides but it is also an issue effecting a few different dropdowns
This commit is contained in:
@@ -1447,10 +1447,7 @@ void WindowEventDropdownCall(WindowBase* w, WidgetIndex widgetIndex, int32_t dro
|
||||
{
|
||||
if (w->event_handlers == nullptr)
|
||||
{
|
||||
if (dropdownIndex != -1)
|
||||
{
|
||||
w->OnDropdown(widgetIndex, dropdownIndex);
|
||||
}
|
||||
w->OnDropdown(widgetIndex, dropdownIndex);
|
||||
}
|
||||
else if (w->event_handlers->dropdown != nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user