Skip to content

Commit f4e43ca

Browse files
authored
LttP: mock world.random in adjuster (#4623)
1 parent a298be9 commit f4e43ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

LttPAdjuster.py

+5
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,15 @@
3333
WINDOW_MIN_WIDTH = 425
3434

3535
class AdjusterWorld(object):
36+
class AdjusterSubWorld(object):
37+
def __init__(self, random):
38+
self.random = random
39+
3640
def __init__(self, sprite_pool):
3741
import random
3842
self.sprite_pool = {1: sprite_pool}
3943
self.per_slot_randoms = {1: random}
44+
self.worlds = {1: self.AdjusterSubWorld(random)}
4045

4146

4247
class ArgumentDefaultsHelpFormatter(argparse.RawTextHelpFormatter):

0 commit comments

Comments
 (0)