WebHost: fix location_name_group related spinup crash

This commit is contained in:
Fabian Dill 2023-03-09 12:31:35 +01:00
parent 942d689093
commit c61f467218
1 changed files with 2 additions and 0 deletions
WebHostLib

View File

@ -131,6 +131,8 @@ def get_static_server_data() -> dict:
"gamespackage": worlds.network_data_package["games"], "gamespackage": worlds.network_data_package["games"],
"item_name_groups": {world_name: world.item_name_groups for world_name, world in "item_name_groups": {world_name: world.item_name_groups for world_name, world in
worlds.AutoWorldRegister.world_types.items()}, worlds.AutoWorldRegister.world_types.items()},
"location_name_groups": {world_name: world.location_name_groups for world_name, world in
worlds.AutoWorldRegister.world_types.items()},
} }
for world_name, world in worlds.AutoWorldRegister.world_types.items(): for world_name, world in worlds.AutoWorldRegister.world_types.items():