diff --git a/pain.lua b/pain.lua index c212511..30aa10f 100644 --- a/pain.lua +++ b/pain.lua @@ -2979,8 +2979,9 @@ local getInput = function() --gotta catch them all paintEncoded[frame-1][#paintEncoded[frame-1] + 1] = paintEncoded[frame][a] end table.remove(paintEncoded, frame) + frame = frame - 1 paintEncoded = clearAllRedundant(paintEncoded) - barmsg = "Merged next frame." + barmsg = "Merged previous frame." doRender = true changedImage = true saveToUndoBuffer()