From e4e9cd9f127b6ac73c369130a6416ff4a71ab727 Mon Sep 17 00:00:00 2001 From: alwaysintreble Date: Mon, 18 Nov 2024 18:15:13 -0600 Subject: [PATCH] ok one of them was --- test/general/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/general/__init__.py b/test/general/__init__.py index 53be7afacf7b..8afd84976540 100644 --- a/test/general/__init__.py +++ b/test/general/__init__.py @@ -1,8 +1,6 @@ from argparse import Namespace from typing import List, Optional, Tuple, Type, Union -from tornado.gen import multi - from BaseClasses import CollectionState, Item, ItemClassification, Location, MultiWorld, Region from worlds import network_data_package from worlds.AutoWorld import World, call_all @@ -75,7 +73,7 @@ def generate_test_multiworld(players: int = 1) -> MultiWorld: :return: The generated test multiworld """ multiworld = setup_multiworld([TestWorld] * players, seed=0) - multiworld.regions += [Region("Menu", player_id, multiworld) for player_id in multiworld.player_ids] + multiworld.regions += [Region("Menu", player_id + 1, multiworld) for player_id in range(players)] return multiworld