mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 22:13:07 +01:00
Set slide as not in use when using cheat to remove guests
This commit is contained in:
@@ -721,6 +721,7 @@ namespace OpenRCT2::GameActions
|
||||
for (auto& ride : RideManager(gameState))
|
||||
{
|
||||
ride.numRiders = 0;
|
||||
ride.slideInUse = 0;
|
||||
|
||||
for (auto& station : ride.getStations())
|
||||
{
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
// It is used for making sure only compatible builds get connected, even within
|
||||
// single OpenRCT2 version.
|
||||
|
||||
constexpr uint8_t kStreamVersion = 4;
|
||||
constexpr uint8_t kStreamVersion = 5;
|
||||
|
||||
const std::string kStreamID = std::string(kOpenRCT2Version) + "-" + std::to_string(kStreamVersion);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user