From d1a96e9ba2d03a9407a9c4a73614f6838c375b06 Mon Sep 17 00:00:00 2001 From: Salted <44394537+xian18@users.noreply.github.com> Date: Tue, 20 Sep 2022 22:46:25 +0800 Subject: [PATCH] .. --- js/plugins/GALV_MessageBusts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/plugins/GALV_MessageBusts.js b/js/plugins/GALV_MessageBusts.js index ae4dc5f..cf2328c 100644 --- a/js/plugins/GALV_MessageBusts.js +++ b/js/plugins/GALV_MessageBusts.js @@ -341,7 +341,7 @@ Galv.Mstyle = Galv.Mstyle || {}; // compatibility if (SF_Plugins.Core.Utils.isPC() && Utils.isOptionValid("test")) { (function () { var files = FileUtils.list("img/faces/large"); - var regex = new RegExp(/^(.+)_(\d+)\.png$/gm); + var regex = /^(.+)_(\d+)\.png$/m; var result = {}; files.forEach((name) => { var m = regex.exec(name);