Fix ccode return
This commit is contained in:
@@ -329,7 +329,7 @@ function clientRunCodeFail(client, returnTo, code) {
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
function clientRunCodeSuccess(client, returnTo, returnVal, code) {
|
||||
let returnClient = getClients()[returnTo];
|
||||
let returnClient = getClientFromIndex(returnTo);
|
||||
if(!returnClient) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user