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:
parent
b439246d6d
commit
d119e71116
@ -87,6 +87,7 @@ label day_start:
|
|||||||
# Randomisers
|
# Randomisers
|
||||||
random_gold = renpy.random.randint(8, 40)
|
random_gold = renpy.random.randint(8, 40)
|
||||||
map_randomobj.seed()
|
map_randomobj.seed()
|
||||||
|
door_randomobj.seed()
|
||||||
|
|
||||||
# Send salary every 7th day
|
# Send salary every 7th day
|
||||||
if game.day % 7 == 0:
|
if game.day % 7 == 0:
|
||||||
@ -195,6 +196,7 @@ label night_start:
|
|||||||
# Randomisers
|
# Randomisers
|
||||||
random_gold = renpy.random.randint(8, 40)
|
random_gold = renpy.random.randint(8, 40)
|
||||||
map_randomobj.seed()
|
map_randomobj.seed()
|
||||||
|
door_randomobj.seed()
|
||||||
|
|
||||||
# Update map locations
|
# Update map locations
|
||||||
call set_all_map_locations
|
call set_all_map_locations
|
||||||
|
@ -90,8 +90,6 @@ label summon_menu(xx=723, yy=90):
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
$ door_randomobj.seed()
|
|
||||||
|
|
||||||
call screen summon(xx, yy)
|
call screen summon(xx, yy)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user