forked from MapComplete/MapComplete
		
	Fix indexes in script
This commit is contained in:
		
							parent
							
								
									3334bfb8ca
								
							
						
					
					
						commit
						b80a41245c
					
				
					 2 changed files with 12 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -110,7 +110,7 @@ export class Each<X, Y> extends Conversion<X[], Y[]> {
 | 
			
		|||
                    values[i]?.["id"] !== undefined ? values[i]?.["id"] : ""
 | 
			
		||||
                )
 | 
			
		||||
            }
 | 
			
		||||
            const context_ = c.enter(i - 1)
 | 
			
		||||
            const context_ = c.enter(i)
 | 
			
		||||
            const r = step.convert(values[i], context_)
 | 
			
		||||
            result.push(r)
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue