Item Plando: make world selection deterministic
This commit is contained in:
		
							parent
							
								
									96d7a3a64c
								
							
						
					
					
						commit
						e78800d1bc
					
				
							
								
								
									
										3
									
								
								Fill.py
								
								
								
								
							
							
						
						
									
										3
									
								
								Fill.py
								
								
								
								
							| 
						 | 
				
			
			@ -840,8 +840,7 @@ def distribute_planned(world: MultiWorld) -> None:
 | 
			
		|||
            maxcount = placement['count']['target']
 | 
			
		||||
            from_pool = placement['from_pool']
 | 
			
		||||
 | 
			
		||||
            candidates = list(location for location in world.get_unfilled_locations_for_players(locations,
 | 
			
		||||
                                                                                                worlds))
 | 
			
		||||
            candidates = list(world.get_unfilled_locations_for_players(locations, sorted(worlds)))
 | 
			
		||||
            world.random.shuffle(candidates)
 | 
			
		||||
            world.random.shuffle(items)
 | 
			
		||||
            count = 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue