Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #41

Merged

fix #41

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions game/tool/nqtr_screens.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""):
Expand Down