Skip to content

Commit

Permalink
refactor(utils): rename screen parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Sep 8, 2024
1 parent da6e125 commit 88e7f86
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion game/story/inside/kitchen.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ label kitchen:
jump explore_inside_day

screen explore_kitchen():
use back(jump="kitchen")
use back(jump_to_label="kitchen")

textbutton "{alpha=0}{noalt}PAINTING\nPAINTING\nPAINTING\nPAINTING":
xpos 120
Expand Down
2 changes: 1 addition & 1 deletion game/story/outside/pond.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ label pond:
jump explore_outside_day

screen explore_pond():
use back(jump="pond")
use back(jump_to_label="pond")

hbox:
for y in [0, 0, 0, 50, 100]:
Expand Down
4 changes: 2 additions & 2 deletions game/utils/screens.rpy
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
screen back(jump):
screen back(jump_to_label):
textbutton "Back":
action Jump(jump)
action Jump(jump_to_label)
style "back_button"

0 comments on commit 88e7f86

Please sign in to comment.