diff --git a/game/screens.rpy b/game/screens.rpy index c907138..97f6dc1 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -639,7 +639,7 @@ screen gallery_panel(): ysize 160 background None hover_background "#ffffff11" - action ShowScreen("yitao_gallery") + action Function(renpy.show_screen, "yitao_gallery") vbox: xalign 0.5 @@ -746,7 +746,7 @@ screen yitao_gallery(): yfill True background None hover_background "#ffffff14" - action [Function(mark_photo_seen, _pid), ShowScreen("gallery_detail", photo=photo)] + action [Function(mark_photo_seen, _pid), Function(renpy.show_screen, "gallery_detail", photo=photo)] add photo["file"]: fit "cover"