Minor bugfixes
This commit is contained in:
6
Gui.py
6
Gui.py
@@ -318,24 +318,18 @@ def guiMain(args=None):
|
|||||||
doorShuffleLabel.pack(side=LEFT)
|
doorShuffleLabel.pack(side=LEFT)
|
||||||
|
|
||||||
heartbeepFrame = Frame(drowDownFrame)
|
heartbeepFrame = Frame(drowDownFrame)
|
||||||
heartbeepVar = StringVar()
|
|
||||||
heartbeepVar.set('normal')
|
|
||||||
heartbeepOptionMenu = OptionMenu(heartbeepFrame, heartbeepVar, 'double', 'normal', 'half', 'quarter', 'off')
|
heartbeepOptionMenu = OptionMenu(heartbeepFrame, heartbeepVar, 'double', 'normal', 'half', 'quarter', 'off')
|
||||||
heartbeepOptionMenu.pack(side=RIGHT)
|
heartbeepOptionMenu.pack(side=RIGHT)
|
||||||
heartbeepLabel = Label(heartbeepFrame, text='Heartbeep sound rate')
|
heartbeepLabel = Label(heartbeepFrame, text='Heartbeep sound rate')
|
||||||
heartbeepLabel.pack(side=LEFT)
|
heartbeepLabel.pack(side=LEFT)
|
||||||
|
|
||||||
heartcolorFrame = Frame(drowDownFrame)
|
heartcolorFrame = Frame(drowDownFrame)
|
||||||
heartcolorVar = StringVar()
|
|
||||||
heartcolorVar.set('red')
|
|
||||||
heartcolorOptionMenu = OptionMenu(heartcolorFrame, heartcolorVar, 'red', 'blue', 'green', 'yellow', 'random')
|
heartcolorOptionMenu = OptionMenu(heartcolorFrame, heartcolorVar, 'red', 'blue', 'green', 'yellow', 'random')
|
||||||
heartcolorOptionMenu.pack(side=RIGHT)
|
heartcolorOptionMenu.pack(side=RIGHT)
|
||||||
heartcolorLabel = Label(heartcolorFrame, text='Heart color')
|
heartcolorLabel = Label(heartcolorFrame, text='Heart color')
|
||||||
heartcolorLabel.pack(side=LEFT)
|
heartcolorLabel.pack(side=LEFT)
|
||||||
|
|
||||||
fastMenuFrame = Frame(drowDownFrame)
|
fastMenuFrame = Frame(drowDownFrame)
|
||||||
fastMenuVar = StringVar()
|
|
||||||
fastMenuVar.set('normal')
|
|
||||||
fastMenuOptionMenu = OptionMenu(fastMenuFrame, fastMenuVar, 'normal', 'instant', 'double', 'triple', 'quadruple', 'half')
|
fastMenuOptionMenu = OptionMenu(fastMenuFrame, fastMenuVar, 'normal', 'instant', 'double', 'triple', 'quadruple', 'half')
|
||||||
fastMenuOptionMenu.pack(side=RIGHT)
|
fastMenuOptionMenu.pack(side=RIGHT)
|
||||||
fastMenuLabel = Label(fastMenuFrame, text='Menu speed')
|
fastMenuLabel = Label(fastMenuFrame, text='Menu speed')
|
||||||
|
|||||||
1
Main.py
1
Main.py
@@ -215,6 +215,7 @@ def main(args, seed=None):
|
|||||||
"-nohints" if not world.hints[player] else "")) if not args.outputname else ''
|
"-nohints" if not world.hints[player] else "")) if not args.outputname else ''
|
||||||
rom.write_to_file(output_path(f'{outfilebase}{outfilepname}{outfilesuffix}.sfc'))
|
rom.write_to_file(output_path(f'{outfilebase}{outfilepname}{outfilesuffix}.sfc'))
|
||||||
|
|
||||||
|
if world.players > 1:
|
||||||
multidata = zlib.compress(json.dumps({"names": parsed_names,
|
multidata = zlib.compress(json.dumps({"names": parsed_names,
|
||||||
"roms": rom_names,
|
"roms": rom_names,
|
||||||
"remote_items": [player for player in range(1, world.players + 1) if world.remote_items[player]],
|
"remote_items": [player for player in range(1, world.players + 1) if world.remote_items[player]],
|
||||||
|
|||||||
Reference in New Issue
Block a user