Skip to content

Commit

Permalink
Fix truck stop button handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ldpl committed Dec 27, 2024
1 parent ccd8b13 commit 02d6792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/road_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ struct BuildRoadToolbarWindow : Window {
}

case WID_ROT_TRUCK_STATION:
if (citymania::HandleStationPlacePushButton(this, WID_ROT_BUS_STATION, std::make_shared<citymania::RoadStationPreview>(ROADSTOP_TRUCK))) {
if (citymania::HandleStationPlacePushButton(this, WID_ROT_TRUCK_STATION, std::make_shared<citymania::RoadStationPreview>(ROADSTOP_TRUCK))) {
ShowRVStationPicker(this, ROADSTOP_TRUCK);
this->last_started_action = widget;
}
Expand Down

0 comments on commit 02d6792

Please sign in to comment.