OoT Adjuster: Remove per_slot_randoms (#4264)
This commit is contained in:
		
							parent
							
								
									9e353ebb8e
								
							
						
					
					
						commit
						cbf4bbbca8
					
				| 
						 | 
					@ -1,7 +1,6 @@
 | 
				
			||||||
import tkinter as tk
 | 
					import tkinter as tk
 | 
				
			||||||
import argparse
 | 
					import argparse
 | 
				
			||||||
import logging
 | 
					import logging
 | 
				
			||||||
import random
 | 
					 | 
				
			||||||
import os
 | 
					import os
 | 
				
			||||||
import zipfile
 | 
					import zipfile
 | 
				
			||||||
from itertools import chain
 | 
					from itertools import chain
 | 
				
			||||||
| 
						 | 
					@ -197,7 +196,6 @@ def set_icon(window):
 | 
				
			||||||
def adjust(args):
 | 
					def adjust(args):
 | 
				
			||||||
    # Create a fake multiworld and OOTWorld to use as a base
 | 
					    # Create a fake multiworld and OOTWorld to use as a base
 | 
				
			||||||
    multiworld = MultiWorld(1)
 | 
					    multiworld = MultiWorld(1)
 | 
				
			||||||
    multiworld.per_slot_randoms = {1: random}
 | 
					 | 
				
			||||||
    ootworld = OOTWorld(multiworld, 1)
 | 
					    ootworld = OOTWorld(multiworld, 1)
 | 
				
			||||||
    # Set options in the fake OOTWorld
 | 
					    # Set options in the fake OOTWorld
 | 
				
			||||||
    for name, option in chain(cosmetic_options.items(), sfx_options.items()):
 | 
					    for name, option in chain(cosmetic_options.items(), sfx_options.items()):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue