mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
OoT: Stop Using Utils.get_options (#4957)
This commit is contained in:
@@ -30,7 +30,6 @@ from .Patches import OoTContainer, patch_rom
|
||||
from .N64Patch import create_patch_file
|
||||
from .Cosmetics import patch_cosmetics
|
||||
|
||||
from settings import get_settings
|
||||
from BaseClasses import MultiWorld, CollectionState, Tutorial, LocationProgressType
|
||||
from Options import Range, Toggle, VerifyKeys, Accessibility, PlandoConnections, PlandoItems
|
||||
from Fill import fill_restrictive, fast_fill, FillError
|
||||
@@ -203,7 +202,8 @@ class OOTWorld(World):
|
||||
|
||||
@classmethod
|
||||
def stage_assert_generate(cls, multiworld: MultiWorld):
|
||||
rom = Rom(file=get_settings()['oot_options']['rom_file'])
|
||||
oot_settings = OOTWorld.settings
|
||||
rom = Rom(file=oot_settings.rom_file)
|
||||
|
||||
|
||||
# Option parsing, handling incompatible options, building useful-item table
|
||||
@@ -1089,7 +1089,8 @@ class OOTWorld(World):
|
||||
self.hint_rng = self.random
|
||||
|
||||
outfile_name = self.multiworld.get_out_file_name_base(self.player)
|
||||
rom = Rom(file=get_settings()['oot_options']['rom_file'])
|
||||
oot_settings = OOTWorld.settings
|
||||
rom = Rom(file=oot_settings.rom_file)
|
||||
try:
|
||||
if self.hints != 'none':
|
||||
buildWorldGossipHints(self)
|
||||
|
Reference in New Issue
Block a user