1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00
This commit is contained in:
Flukiestemperor
2015-11-07 12:22:44 +00:00
committed by IntelOrca
parent 5d0e88afa0
commit 8d3655e0f6

View File

@@ -1668,8 +1668,8 @@ int ride_modify(rct_xy_element *input)
return 0;
}
ride_clear_for_construction(rideIndex);
ride_remove_peeps(rideIndex);
// Stop the ride again to clear all vehicles and peeps (compatible with network games)
ride_set_status(rideIndex, RIDE_STATUS_CLOSED);
// Check if element is a station entrance or exit
if (map_element_get_type(mapElement.element) == MAP_ELEMENT_TYPE_ENTRANCE)