Multiserver: [0,1] == (0,1) -> False, turns out.
This commit is contained in:
parent
5895e0ce3d
commit
88ba7b55d2
|
@ -213,7 +213,7 @@ class Context(Node):
|
|||
def set_save(self, savedata: dict):
|
||||
rom_names = savedata["rom_names"] # convert from TrackerList to List in case of ponyorm
|
||||
try:
|
||||
adjusted = {rom: other for rom, other in rom_names}
|
||||
adjusted = {rom: (team, slot) for rom, (team, slot) in rom_names}
|
||||
except TypeError:
|
||||
adjusted = {tuple(rom): (team, slot) for (rom, (team, slot)) in rom_names} # old format, ponyorm friendly
|
||||
if self.rom_names != adjusted:
|
||||
|
|
Loading…
Reference in New Issue