SM: cx_freeze fix (#1584)

This commit is contained in:
lordlou
2023-03-25 14:30:38 -04:00
committed by GitHub
parent 0ed3865c30
commit 384577e421
33 changed files with 195 additions and 851 deletions

View File

@@ -4,20 +4,20 @@ class Logic(object):
@staticmethod
def factory(implementation):
if implementation == 'vanilla':
from graph.vanilla.graph_helpers import HelpersGraph
from graph.vanilla.graph_access import accessPoints
from graph.vanilla.graph_locations import locations
from graph.vanilla.graph_locations import LocationsHelper
from worlds.sm.variaRandomizer.graph.vanilla.graph_helpers import HelpersGraph
from worlds.sm.variaRandomizer.graph.vanilla.graph_access import accessPoints
from worlds.sm.variaRandomizer.graph.vanilla.graph_locations import locations
from worlds.sm.variaRandomizer.graph.vanilla.graph_locations import LocationsHelper
Logic.locations = locations
Logic.accessPoints = accessPoints
Logic.HelpersGraph = HelpersGraph
Logic.patches = implementation
Logic.LocationsHelper = LocationsHelper
elif implementation == 'rotation':
from graph.rotation.graph_helpers import HelpersGraph
from graph.rotation.graph_access import accessPoints
from graph.rotation.graph_locations import locations
from graph.rotation.graph_locations import LocationsHelper
from worlds.sm.variaRandomizer.graph.rotation.graph_helpers import HelpersGraph
from worlds.sm.variaRandomizer.graph.rotation.graph_access import accessPoints
from worlds.sm.variaRandomizer.graph.rotation.graph_locations import locations
from worlds.sm.variaRandomizer.graph.rotation.graph_locations import LocationsHelper
Logic.locations = locations
Logic.accessPoints = accessPoints
Logic.HelpersGraph = HelpersGraph