Only reseed the door at the beginning of the day/night

It's weird that people teleport when you open the menu twice in a row
This commit is contained in:
Asriel Senna 2023-12-17 10:15:14 +01:00
parent b439246d6d
commit d119e71116
2 changed files with 2 additions and 2 deletions

View File

@ -87,6 +87,7 @@ label day_start:
# Randomisers
random_gold = renpy.random.randint(8, 40)
map_randomobj.seed()
door_randomobj.seed()
# Send salary every 7th day
if game.day % 7 == 0:
@ -195,6 +196,7 @@ label night_start:
# Randomisers
random_gold = renpy.random.randint(8, 40)
map_randomobj.seed()
door_randomobj.seed()
# Update map locations
call set_all_map_locations

View File

@ -90,8 +90,6 @@ label summon_menu(xx=723, yy=90):
},
)
$ door_randomobj.seed()
call screen summon(xx, yy)
return