Fix bugs
This commit is contained in:
4
Main.py
4
Main.py
@@ -248,13 +248,13 @@ def main(args, seed=None, fish=None):
|
|||||||
"difficulty_adjustments": world.difficulty_adjustments[player], # 2
|
"difficulty_adjustments": world.difficulty_adjustments[player], # 2
|
||||||
"mode": world.mode[player], # 3
|
"mode": world.mode[player], # 3
|
||||||
"goal": world.goal[player], # 4
|
"goal": world.goal[player], # 4
|
||||||
"timer": str(world.timer[player]), # 5
|
"timer": str(world.timer), # 5
|
||||||
"shuffle": world.shuffle[player], # 6
|
"shuffle": world.shuffle[player], # 6
|
||||||
"doorShuffle": world.doorShuffle[player], # 7
|
"doorShuffle": world.doorShuffle[player], # 7
|
||||||
"algorithm": world.algorithm, # 8
|
"algorithm": world.algorithm, # 8
|
||||||
"mscb": mcsb_name, # 9
|
"mscb": mcsb_name, # 9
|
||||||
"retro": world.retro[player], # A
|
"retro": world.retro[player], # A
|
||||||
"progressive": world.progressive[player], # B
|
"progressive": world.progressive, # B
|
||||||
"hints": str(world.hints[player]) # C
|
"hints": str(world.hints[player]) # C
|
||||||
}
|
}
|
||||||
# 0 1 2 3 4 5 6 7 8 9 A B C
|
# 0 1 2 3 4 5 6 7 8 9 A B C
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ def adjust_page(top, parent, settings):
|
|||||||
arg = options[option]
|
arg = options[option]
|
||||||
setattr(guiargs, arg, self.widgets[option].storageVar.get())
|
setattr(guiargs, arg, self.widgets[option].storageVar.get())
|
||||||
guiargs.rom = self.romVar2.get()
|
guiargs.rom = self.romVar2.get()
|
||||||
guiargs.baserom = top.pages["randomizer"].pages["generation"].romVar.get()
|
guiargs.baserom = top.pages["randomizer"].pages["generation"].widgets["rom"].storageVar.get()
|
||||||
guiargs.sprite = self.sprite
|
guiargs.sprite = self.sprite
|
||||||
try:
|
try:
|
||||||
adjust(args=guiargs)
|
adjust(args=guiargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user