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:
jamesbrq
2024-05-18 16:26:50 -04:00
committed by GitHub
parent 2bc345504e
commit 0e893889c7
5 changed files with 10 additions and 20 deletions

View File

@@ -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