mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
MLSS: General bugfixes + Add patch extension to inno_setup.iss (#3286)
* Remove outdated header change for ROM verification * Update Connections to be compatible with python ver. 3.8 * Update inno_setup.iss * Update inno_setup.iss
This commit is contained in:
@@ -299,7 +299,7 @@ def connect(
|
||||
target: str,
|
||||
rule: typing.Optional[typing.Callable] = None,
|
||||
reach: typing.Optional[bool] = False,
|
||||
) -> Entrance | None:
|
||||
) -> typing.Optional[Entrance]:
|
||||
source_region = world.multiworld.get_region(source, world.player)
|
||||
target_region = world.multiworld.get_region(target, world.player)
|
||||
|
||||
@@ -317,7 +317,4 @@ def connect(
|
||||
|
||||
source_region.exits.append(connection)
|
||||
connection.connect(target_region)
|
||||
if reach:
|
||||
return connection
|
||||
else:
|
||||
return None
|
||||
return connection if reach else None
|
||||
|
||||
Reference in New Issue
Block a user