[duetto-meika] remove the condition that breaks everything

Don't know, must have been drunk (and never fell into this branch)
This commit is contained in:
odrling 2020-06-13 00:01:55 +02:00
parent 18954160cb
commit 5e2cb51885
1 changed files with 1 additions and 3 deletions

View File

@ -149,9 +149,7 @@ function deduetto_meika(subs, sel)
bracketed = bracketed:gsub("\\f[sn][^\\}]*", "")
-- add style marker
if line.style ~= script_style.name then
bracketed = "{s:" .. script_style.name .. bracketed:sub(2, #bracketed)
end
bracketed = "{s:" .. script_style.name .. bracketed:sub(2, #bracketed)
line.text = line.text:sub(1, match_start-1) .. bracketed .. line.text:sub(match_end + 1, #line.text)
end
end