Docs: Update `generate_output` docstring (#2098)

This commit is contained in:
Bryce Wilson 2023-08-16 07:02:43 -07:00 committed by GitHub
parent 5cd837256f
commit be07634b15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -309,8 +309,8 @@ class World(metaclass=AutoWorldRegister):
This happens before progression balancing, so the items may not be in their final locations yet.""" This happens before progression balancing, so the items may not be in their final locations yet."""
def generate_output(self, output_directory: str) -> None: def generate_output(self, output_directory: str) -> None:
"""This method gets called from a threadpool, do not use world.random here. """This method gets called from a threadpool, do not use multiworld.random here.
If you need any last-second randomization, use MultiWorld.per_slot_randoms[slot] instead.""" If you need any last-second randomization, use self.random instead."""
pass pass
def fill_slot_data(self) -> Dict[str, Any]: # json of WebHostLib.models.Slot def fill_slot_data(self) -> Dict[str, Any]: # json of WebHostLib.models.Slot