Skip to content
Permalink
Browse files

fix 'output log contains no data' message

  • Loading branch information...
Manuel-777 committed Feb 14, 2019
1 parent 9420b4d commit 6c725b4009b1c9ebe11cbda89028ba3e9902e183
Showing with 2 additions and 2 deletions.
  1. +2 −2 window_background/background.js
@@ -1026,13 +1026,13 @@ function processLogUser(rawString) {
//ipc_send("ipc_log", "Async: ("+index+")");

// Get player Id
let strCheck = '"PlayerId":"';
let strCheck = '"playerId": "';
if (value.indexOf(strCheck) > -1) {
playerId = dataChop(value, strCheck, '"');
}

// Get User name
strCheck = '"PlayerScreenName":"';
strCheck = '"screenName": "';
if (value.indexOf(strCheck) > -1) {
playerName = dataChop(value, strCheck, '"');
ipc_send("set_username", playerName);

0 comments on commit 6c725b4

Please sign in to comment.
You can’t perform that action at this time.