Don't edit rom name after writing it (causes problems for multi client/server checks)

Add door-shuffle type to rom filename.
This commit is contained in:
compiling
2020-01-12 11:42:57 +11:00
parent dfcf6a1be0
commit 761d11a272
2 changed files with 2 additions and 3 deletions

1
Rom.py
View File

@@ -1258,7 +1258,6 @@ def patch_rom(world, player, rom, enemized):
rom.name = bytearray('ER_{0}_{1:09}\0'.format(__version__[0:7], world.seed), 'utf8')
assert len(rom.name) <= 21
rom.write_bytes(0x7FC0, rom.name)
rom.name[0] = ord('D')
# Write title screen Code
hashint = int(rom.get_hash(), 16)