Salted 2 years ago
parent 6bbcb7bed6
commit d1a96e9ba2
Signed by: SaltedFish
GPG Key ID: FCF3F47D9BD7AD42

@ -341,7 +341,7 @@ Galv.Mstyle = Galv.Mstyle || {}; // compatibility
if (SF_Plugins.Core.Utils.isPC() && Utils.isOptionValid("test")) { if (SF_Plugins.Core.Utils.isPC() && Utils.isOptionValid("test")) {
(function () { (function () {
var files = FileUtils.list("img/faces/large"); var files = FileUtils.list("img/faces/large");
var regex = new RegExp(/^(.+)_(\d+)\.png$/gm); var regex = /^(.+)_(\d+)\.png$/m;
var result = {}; var result = {};
files.forEach((name) => { files.forEach((name) => {
var m = regex.exec(name); var m = regex.exec(name);

Loading…
Cancel
Save