From be07634b150b6900fd8cc4e3391941f1b4eb0321 Mon Sep 17 00:00:00 2001 From: Bryce Wilson Date: Wed, 16 Aug 2023 07:02:43 -0700 Subject: [PATCH] Docs: Update `generate_output` docstring (#2098) --- worlds/AutoWorld.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/AutoWorld.py b/worlds/AutoWorld.py index a74d88d1..217269aa 100644 --- a/worlds/AutoWorld.py +++ b/worlds/AutoWorld.py @@ -309,8 +309,8 @@ class World(metaclass=AutoWorldRegister): This happens before progression balancing, so the items may not be in their final locations yet.""" def generate_output(self, output_directory: str) -> None: - """This method gets called from a threadpool, do not use world.random here. - If you need any last-second randomization, use MultiWorld.per_slot_randoms[slot] instead.""" + """This method gets called from a threadpool, do not use multiworld.random here. + If you need any last-second randomization, use self.random instead.""" pass def fill_slot_data(self) -> Dict[str, Any]: # json of WebHostLib.models.Slot