diff --git a/api/tools/log-parse-tool.js b/api/tools/log-parse-tool.js index 9254541..ce4d51d 100644 --- a/api/tools/log-parse-tool.js +++ b/api/tools/log-parse-tool.js @@ -165,7 +165,7 @@ const parseWarLog = (lineArray, war) => { * PLAYERS */ else if (line.includes('Fraktionsübersicht ||')) { - const playerString = line.substring(line.lastIndexOf('Fraktionsübersicht || ') + 22, line.lastIndexOf(' :OPT LOG END')); + const playerString = line.substring(line.lastIndexOf('Fraktionsübersicht || ') + 22, line.lastIndexOf(', PUID')); addPlayerIfNotExists(playerString) } }); diff --git a/static/src/app/statistic/war-detail/war-detail.component.html b/static/src/app/statistic/war-detail/war-detail.component.html index 1db0fb0..306a641 100644 --- a/static/src/app/statistic/war-detail/war-detail.component.html +++ b/static/src/app/statistic/war-detail/war-detail.component.html @@ -165,11 +165,11 @@ - - - Player - - + + + + +