1
This commit is contained in:
parent
757c7586a3
commit
577801c215
@ -195,7 +195,7 @@ class ClientNet {
|
|||||||
console.log('unknown command');
|
console.log('unknown command');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const msgBody = line.slice(line.indexOf(msgName) + msgName.length + 1);
|
const msgBody = line.slice(line.indexOf(msgName) + msgName.length);
|
||||||
const msg = eval('({' + msgBody + '})');
|
const msg = eval('({' + msgBody + '})');
|
||||||
/*const msg = {};
|
/*const msg = {};
|
||||||
for (let i = 0; i < msgType.fieldsArray.length; ++i) {
|
for (let i = 0; i < msgType.fieldsArray.length; ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user