Core: early_local != local_early #3780
This commit is contained in:
		
							parent
							
								
									ca96e7e294
								
							
						
					
					
						commit
						81092247c6
					
				
							
								
								
									
										2
									
								
								Main.py
								
								
								
								
							
							
						
						
									
										2
									
								
								Main.py
								
								
								
								
							| 
						 | 
				
			
			@ -101,7 +101,7 @@ def main(args, seed=None, baked_server_options: Optional[Dict[str, object]] = No
 | 
			
		|||
                multiworld.early_items[player][item_name] = max(0, early-count)
 | 
			
		||||
                remaining_count = count-early
 | 
			
		||||
                if remaining_count > 0:
 | 
			
		||||
                    local_early = multiworld.early_local_items[player].get(item_name, 0)
 | 
			
		||||
                    local_early = multiworld.local_early_items[player].get(item_name, 0)
 | 
			
		||||
                    if local_early:
 | 
			
		||||
                        multiworld.early_items[player][item_name] = max(0, local_early - remaining_count)
 | 
			
		||||
                    del local_early
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue