Core: allow pushing precollected items into item link worlds.

This commit is contained in:
Fabian Dill
2024-06-20 22:33:16 +02:00
parent 4f514e5944
commit f852e64424
2 changed files with 18 additions and 2 deletions

View File

@@ -190,6 +190,7 @@ class MultiWorld():
self.worlds[new_id] = world_type.create_group(self, new_id, players)
self.worlds[new_id].collect_item = classmethod(AutoWorld.World.collect_item).__get__(self.worlds[new_id])
self.player_name[new_id] = name
self.precollected_items[new_id] = []
new_group = self.groups[new_id] = Group(name=name, game=game, players=players,
world=self.worlds[new_id])