do not double-collect keys during playthrough computation, since they are progression items now
This commit is contained in:
		
							parent
							
								
									c05f1ed24f
								
							
						
					
					
						commit
						be46d128bc
					
				
							
								
								
									
										2
									
								
								Main.py
								
								
								
								
							
							
						
						
									
										2
									
								
								Main.py
								
								
								
								
							| 
						 | 
					@ -414,7 +414,7 @@ def create_playthrough(world):
 | 
				
			||||||
    sphere_candidates = set(prog_locations)
 | 
					    sphere_candidates = set(prog_locations)
 | 
				
			||||||
    logging.debug('Building up collection spheres.')
 | 
					    logging.debug('Building up collection spheres.')
 | 
				
			||||||
    while sphere_candidates:
 | 
					    while sphere_candidates:
 | 
				
			||||||
        state.sweep_for_events(key_only=True)
 | 
					        state.sweep_for_events()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # build up spheres of collection radius.
 | 
					        # build up spheres of collection radius.
 | 
				
			||||||
        # Everything in each sphere is independent from each other in dependencies and only depends on lower spheres
 | 
					        # Everything in each sphere is independent from each other in dependencies and only depends on lower spheres
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue