Skip to content

Conversation

@bucket3432
Copy link

Splitting by marker currently produces this error:

Lua reported a runtime error:
    File "/home/bucket/.aegisub/automation/autoload/ua.NecrosCopy.lua", line 1231
<anonymous function at lines 1187-1232>
    File "/home/bucket/.aegisub/automation/autoload/ua.NecrosCopy.lua", line 601
splitbreak
    File "/home/bucket/.aegisub/automation/autoload/ua.NecrosCopy.lua", line 827
esc
attempt to index local 'str' (a nil value)

It is caused by mark being used before it is first assigned to. This patch assigns a value to mark before it is first used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant