Skip to content

Commit

Permalink
Merge pull request #41 from DRincs-Productions/40-map-wait-button-cau…
Browse files Browse the repository at this point in the history
…ses-location-icons-to-remain-on-screen

fix
  • Loading branch information
BlackRam-oss committed Jul 23, 2022
2 parents 01704a3 + 11fc4c6 commit 6e046ab
Showing 1 changed file with 7 additions and 6 deletions.
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

0 comments on commit 6e046ab

Please sign in to comment.