Core: Two Small Fixes (#3782)
This commit is contained in:
parent
50330cf32f
commit
dcaa2f7b97
|
@ -1427,7 +1427,7 @@ class Spoiler:
|
||||||
# Maybe move the big bomb over to the Event system instead?
|
# Maybe move the big bomb over to the Event system instead?
|
||||||
if any(exit_path == 'Pyramid Fairy' for path in self.paths.values()
|
if any(exit_path == 'Pyramid Fairy' for path in self.paths.values()
|
||||||
for (_, exit_path) in path):
|
for (_, exit_path) in path):
|
||||||
if multiworld.mode[player] != 'inverted':
|
if multiworld.worlds[player].options.mode != 'inverted':
|
||||||
self.paths[str(multiworld.get_region('Big Bomb Shop', player))] = \
|
self.paths[str(multiworld.get_region('Big Bomb Shop', player))] = \
|
||||||
get_path(state, multiworld.get_region('Big Bomb Shop', player))
|
get_path(state, multiworld.get_region('Big Bomb Shop', player))
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -266,7 +266,7 @@ def run_gui():
|
||||||
if file and component:
|
if file and component:
|
||||||
run_component(component, file)
|
run_component(component, file)
|
||||||
else:
|
else:
|
||||||
logging.warning(f"unable to identify component for {filename}")
|
logging.warning(f"unable to identify component for {file}")
|
||||||
|
|
||||||
def _stop(self, *largs):
|
def _stop(self, *largs):
|
||||||
# ran into what appears to be https://groups.google.com/g/kivy-users/c/saWDLoYCSZ4 with PyCharm.
|
# ran into what appears to be https://groups.google.com/g/kivy-users/c/saWDLoYCSZ4 with PyCharm.
|
||||||
|
|
Loading…
Reference in New Issue