Plando: fix overwriting outer scope (#2196)
This commit is contained in:
		
							parent
							
								
									2ef05a1799
								
							
						
					
					
						commit
						6e02a4ca3c
					
				
							
								
								
									
										8
									
								
								Fill.py
								
								
								
								
							
							
						
						
									
										8
									
								
								Fill.py
								
								
								
								
							|  | @ -840,12 +840,12 @@ def distribute_planned(world: MultiWorld) -> None: | ||||||
| 
 | 
 | ||||||
|             if "early_locations" in locations: |             if "early_locations" in locations: | ||||||
|                 locations.remove("early_locations") |                 locations.remove("early_locations") | ||||||
|                 for player in worlds: |                 for target_player in worlds: | ||||||
|                     locations += early_locations[player] |                     locations += early_locations[target_player] | ||||||
|             if "non_early_locations" in locations: |             if "non_early_locations" in locations: | ||||||
|                 locations.remove("non_early_locations") |                 locations.remove("non_early_locations") | ||||||
|                 for player in worlds: |                 for target_player in worlds: | ||||||
|                     locations += non_early_locations[player] |                     locations += non_early_locations[target_player] | ||||||
| 
 | 
 | ||||||
|             block['locations'] = locations |             block['locations'] = locations | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue