Skip to content

Commit

Permalink
fix bleeding default levels
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvris committed May 18, 2024
1 parent 6300601 commit e63cf5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion worlds/kdl3/regions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import orjson
import os
from pkgutil import get_data
from copy import deepcopy

from typing import TYPE_CHECKING, List, Dict, Optional, Union, Callable
from BaseClasses import Region, CollectionState
Expand Down Expand Up @@ -160,7 +161,7 @@ def generate_valid_levels(world: "KDL3World", shuffle_mode: int) -> Dict[int, Li
except Exception:
raise Exception(f"Failed to find valid stage for {level}-{stage}. Remaining Stages:{possible_stages}")
else:
levels = default_levels.copy()
levels = deepcopy(default_levels)
for level in levels:
levels[level][6] = None
# now handle bosses
Expand Down

0 comments on commit e63cf5e

Please sign in to comment.