diff --git a/src/openrct2-ui/input/Input.cpp b/src/openrct2-ui/input/Input.cpp index fdccfb1454..4073dc056c 100644 --- a/src/openrct2-ui/input/Input.cpp +++ b/src/openrct2-ui/input/Input.cpp @@ -169,6 +169,11 @@ void input_handle_keyboard(bool isTitle) } } + if (!(gInputPlaceObjectModifier & (PLACE_OBJECT_MODIFIER_COPY_Z | PLACE_OBJECT_MODIFIER_SHIFT_Z))) + { + map_remove_virtual_floor(); + } + // Handle key input sint32 key; while (!gOpenRCT2Headless && (key = get_next_key()) != 0)