Skip to content

Commit 8ab9c36

Browse files
committed
Factorio: appease the linter #2
1 parent c9b2114 commit 8ab9c36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

worlds/factorio/Shapes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def get_shapes(factorio_world: "Factorio") -> Dict["FactorioScienceLocation", Se
2424
player = factorio_world.player
2525
prerequisites: Dict["FactorioScienceLocation", Set["FactorioScienceLocation"]] = {}
2626
layout = world.tech_tree_layout[player].value
27-
locations: List["FactorioLocation"] = sorted(factorio_world.locations, key=lambda loc: loc.name)
27+
locations: List["FactorioScienceLocation"] = sorted(factorio_world.locations, key=lambda loc: loc.name)
2828
world.random.shuffle(locations)
2929

3030
if layout == TechTreeLayout.option_single:

worlds/factorio/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class Factorio(World):
5959
data_version = 6
6060
required_client_version = (0, 3, 6)
6161

62-
ordered_science_packs: typing.List[str] = Options.MaxSciencePack.get_ordered_science_packs()
62+
ordered_science_packs: typing.List[str] = MaxSciencePack.get_ordered_science_packs()
6363
tech_mix: int = 0
6464
skip_silo: bool = False
6565

0 commit comments

Comments
 (0)