From 5bdf891e109c743bd363336aee4eccd3e377cf7c Mon Sep 17 00:00:00 2001 From: ariaworld <143797359+ariaworld@users.noreply.github.com> Date: Fri, 12 Jan 2024 00:08:08 +0100 Subject: [PATCH] Check for mystery room --- code/modules/ruins/spaceruin_code/hilbertshotel.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/ruins/spaceruin_code/hilbertshotel.dm b/code/modules/ruins/spaceruin_code/hilbertshotel.dm index af304a5ed7..7df282daf9 100644 --- a/code/modules/ruins/spaceruin_code/hilbertshotel.dm +++ b/code/modules/ruins/spaceruin_code/hilbertshotel.dm @@ -220,6 +220,7 @@ GLOBAL_VAR_INIT(hhmysteryRoomNumber, 1337) if("Apartment-Garden") return hilberts_hotel_rooms_apartment_garden if("Apartment-Syndicate") return hilberts_hotel_rooms_apartment_syndie if("Apartment-Sauna") return hilberts_hotel_rooms_apartment_sauna + if("Mystery Room") return hotelRoomTempLore return hotelRoomTemp // Default to Hotel Room if no match is found //SPLURT EDIT START: HOTEL UPDATE. Was sendToNewRoom(chosenRoomNumber, target) | Added new selectable apartments @@ -230,6 +231,7 @@ GLOBAL_VAR_INIT(hhmysteryRoomNumber, 1337) var/datum/map_template/hilbertshotel/mapTemplate if(ruinSpawned && roomNumber == mysteryRoom) + chosen_room = "Mystery Room" mapTemplate = hotelRoomTempLore else switch(chosen_room)