Skip to content
Snippets Groups Projects
Commit 13a3ae3c authored by Kelvin's avatar Kelvin
Browse files

Devsubmit failed cipher

parent 09eef8ce
No related branches found
No related tags found
No related merge requests found
......@@ -6149,7 +6149,7 @@ function getCipherFunctionCode(playerCode, jsUrl) {
}
}
if(!cipherFunctionName) {
if(bridge.devSubmit) bridge.devSubmit("getCipherFunctionCode - Failed to find cipher (name)", jsUrl);
if(bridge.devSubmit) bridge.devSubmit("getCipherFunctionCode - Failed to find cipher (name)", jsUrl + "\n\n" + playerCode);
throw new ScriptException("Failed to find cipher (name)\n" + jsUrl);
}
const cipherFunctionCodeMatch = playerCode.match("(" + escapeRegex(cipherFunctionName) + "=function\\([a-zA-Z0-9_]+\\)\\{.+?\\})");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment