fix import error for Hollow Knight
This commit is contained in:
parent
2c4c899179
commit
2a13fe05c6
12
Main.py
12
Main.py
|
@ -519,11 +519,13 @@ def main(args, seed=None):
|
||||||
for player, name in enumerate(team, 1):
|
for player, name in enumerate(team, 1):
|
||||||
if player not in world.alttp_player_ids:
|
if player not in world.alttp_player_ids:
|
||||||
connect_names[name] = (i, player)
|
connect_names[name] = (i, player)
|
||||||
for slot in world.hk_player_ids:
|
if world.hk_player_ids:
|
||||||
slots_data = slot_data[slot] = {}
|
import Options
|
||||||
for option_name in Options.hollow_knight_options:
|
for slot in world.hk_player_ids:
|
||||||
option = getattr(world, option_name)[slot]
|
slots_data = slot_data[slot] = {}
|
||||||
slots_data[option_name] = int(option.value)
|
for option_name in Options.hollow_knight_options:
|
||||||
|
option = getattr(world, option_name)[slot]
|
||||||
|
slots_data[option_name] = int(option.value)
|
||||||
for slot in world.minecraft_player_ids:
|
for slot in world.minecraft_player_ids:
|
||||||
slot_data[slot] = fill_minecraft_slot_data(world, slot)
|
slot_data[slot] = fill_minecraft_slot_data(world, slot)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue