From 11fc4c6af8ec3891226808a56c72ccd3c74480f5 Mon Sep 17 00:00:00 2001 From: Exodia <67595890+DonRP@users.noreply.github.com> Date: Sat, 23 Jul 2022 10:20:15 +0200 Subject: [PATCH] fix --- game/tool/nqtr_screens.rpy | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/game/tool/nqtr_screens.rpy b/game/tool/nqtr_screens.rpy index 4c2cee3..a875506 100644 --- a/game/tool/nqtr_screens.rpy +++ b/game/tool/nqtr_screens.rpy @@ -568,12 +568,13 @@ screen menu_memo(): ] label set_background: - if(isClosedRoom(room_id= cur_room.id, closed_rooms= closed_rooms, now_hour= tm.get_hour_number())): - # Change the background image to the current room image. - call closed_room_event - else: - $ sp_bg_change_room = getBgRoomRoutine(commitments_in_cur_location, cur_room.id) - call set_room_background(sp_bg_change_room) + if (not map_open): + if(isClosedRoom(room_id= cur_room.id, closed_rooms= closed_rooms, now_hour= tm.get_hour_number())): + # Change the background image to the current room image. + call closed_room_event + else: + $ sp_bg_change_room = getBgRoomRoutine(commitments_in_cur_location, cur_room.id) + call set_room_background(sp_bg_change_room) return label set_room_background(sp_bg_change_room = ""):