From d119e71116121fdc945ce39709a29f9c9b78ac38 Mon Sep 17 00:00:00 2001 From: Asriel Senna Date: Sun, 17 Dec 2023 10:15:14 +0100 Subject: [PATCH] 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 --- game/scripts/events/DayNight.rpy | 2 ++ game/scripts/interface/door.rpy | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/game/scripts/events/DayNight.rpy b/game/scripts/events/DayNight.rpy index 09bbcd27..38db7ad3 100644 --- a/game/scripts/events/DayNight.rpy +++ b/game/scripts/events/DayNight.rpy @@ -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 diff --git a/game/scripts/interface/door.rpy b/game/scripts/interface/door.rpy index d918e4b3..e8ab62f0 100644 --- a/game/scripts/interface/door.rpy +++ b/game/scripts/interface/door.rpy @@ -90,8 +90,6 @@ label summon_menu(xx=723, yy=90): }, ) - $ door_randomobj.seed() - call screen summon(xx, yy) return