TUNIC: Fix failure in 1-player grass (#4520)

* Fix failure in 1-player grass

* Update worlds/tunic/__init__.py

Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>

---------

Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
This commit is contained in:
Scipio Wright 2025-01-20 09:53:30 -05:00 committed by GitHub
parent d5cd95c7fb
commit 4f77abac4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ class TunicWorld(World):
def stage_pre_fill(cls, multiworld: MultiWorld) -> None: def stage_pre_fill(cls, multiworld: MultiWorld) -> None:
tunic_fill_worlds: List[TunicWorld] = [world for world in multiworld.get_game_worlds("TUNIC") tunic_fill_worlds: List[TunicWorld] = [world for world in multiworld.get_game_worlds("TUNIC")
if world.options.local_fill.value > 0] if world.options.local_fill.value > 0]
if tunic_fill_worlds: if tunic_fill_worlds and multiworld.players > 1:
grass_fill: List[TunicItem] = [] grass_fill: List[TunicItem] = []
non_grass_fill: List[TunicItem] = [] non_grass_fill: List[TunicItem] = []
grass_fill_locations: List[Location] = [] grass_fill_locations: List[Location] = []