mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-12-22 02:17:33 +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))
|
||||
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.
|
||||
if not TriggerCapture(rx, ry) then
|
||||
|
Loading…
Reference in New Issue
Block a user