From 4cfc1737f83428f2ef11e31e59fea8120fcbed4f Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Fri, 23 Aug 2024 09:36:16 +0200 Subject: [PATCH] Fix entrance/exit not being removable (#22612) --- src/openrct2/ride/RideConstruction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/ride/RideConstruction.cpp b/src/openrct2/ride/RideConstruction.cpp index b10fdf161d..49a7d72adb 100644 --- a/src/openrct2/ride/RideConstruction.cpp +++ b/src/openrct2/ride/RideConstruction.cpp @@ -910,7 +910,7 @@ static bool ride_modify_entrance_or_exit(const CoordsXYE& tileElement) } RideConstructionInvalidateCurrentTrack(); - if (_rideConstructionState != RideConstructionState::EntranceExit || isToolActive(WindowClass::RideConstruction)) + if (_rideConstructionState != RideConstructionState::EntranceExit || !isToolActive(WindowClass::RideConstruction)) { // Replace entrance / exit ToolSet(