ShaderPatch: slight speedup for nametags_val2

This commit is contained in:
somewhatlurker
2019-10-07 20:28:51 +11:00
parent 4b67df0db4
commit 343014c4ab
+1 -1
View File
@@ -66,4 +66,4 @@ cloth_npr1\.fp=arch:TU||cfg:compat||from:SSG _tmp0.yw, ybr.xxzz;||to:TEMP _tmpFo
# * `[^!]` ensures the comment is inserted after all start program lines (not sure if this even matters)
# * `[\s\S]` matches all characters *including* new lines
.*=cfg:nametags_val1||from:(\r?\n)([^!][\s\S]*)||to:$1#<fname>$1$2
.*=cfg:nametags_val2||from:([\s\S]*?(\r?\n)[\s\S]*)||to:$1$2#<fname>
.*=cfg:nametags_val2||from:[\s\S]*?(\r?\n)[\s\S]*||to:$&$1#<fname>