mirror of
				https://github.com/Dadido3/noita-mapcap.git
				synced 2025-10-26 23:09:34 +00:00 
			
		
		
		
	Remove artifical slowdown in capture.lua
This commit is contained in:
		
							parent
							
								
									8f3ecefa8b
								
							
						
					
					
						commit
						98f9c23064
					
				| @ -179,7 +179,7 @@ local function captureScreenshot(x, y, rx, ry, entityFile) | |||||||
| 			print(string.format("Entity capture error: %s", err)) | 			print(string.format("Entity capture error: %s", err)) | ||||||
| 		end | 		end | ||||||
| 
 | 
 | ||||||
| 	until DoesWorldExistAt(xMin, yMin, xMax, yMax) and UiCaptureDelay > 25 -- Chunks will be drawn on the *next* frame. | 	until DoesWorldExistAt(xMin, yMin, xMax, yMax) -- Chunks will be drawn on the *next* frame. | ||||||
| 
 | 
 | ||||||
| 	wait(0) -- Without this line empty chunks may still appear, also it's needed for the UI to disappear. | 	wait(0) -- Without this line empty chunks may still appear, also it's needed for the UI to disappear. | ||||||
| 	if not TriggerCapture(rx, ry) then | 	if not TriggerCapture(rx, ry) then | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user