Fix running on non-windows platforms
Also remove incorrect comment
This commit is contained in:
parent
ce30913121
commit
d36b6b1beb
|
@ -51,7 +51,10 @@ class BackgroundTaskProgress(BackgroundTask):
|
|||
self.window['padx'] = 5
|
||||
self.window['pady'] = 5
|
||||
|
||||
self.window.attributes("-toolwindow", 1)
|
||||
try:
|
||||
self.window.attributes("-toolwindow", 1)
|
||||
except tk.TclError:
|
||||
pass
|
||||
|
||||
self.window.wm_title(title)
|
||||
self.label_var = tk.StringVar()
|
||||
|
|
2
Rom.py
2
Rom.py
|
@ -472,8 +472,6 @@ def patch_rom(world, rom, hashtable, beep='normal', sprite=None):
|
|||
else:
|
||||
rom.write_bytes(0x180090, [0x04, 0x47, 0x03, 0x47, 0x02, 0x47, 0x04, 0x47])
|
||||
|
||||
# TODO: FIXME: need to set capcity upgrade fills (2,3,0,0) for easy, (0,0,0,0) otherwise
|
||||
|
||||
# set up game internal RNG seed
|
||||
for i in range(1024):
|
||||
rom.write_byte(0x178000 + i, random.randint(0, 255))
|
||||
|
|
Loading…
Reference in New Issue