Fix player name parsing from Fraktionsuebersicht
parent
15333858ac
commit
d5df4b9a9f
|
@ -165,7 +165,7 @@ const parseWarLog = (lineArray, war) => {
|
||||||
* PLAYERS
|
* PLAYERS
|
||||||
*/
|
*/
|
||||||
else if (line.includes('Fraktionsübersicht ||')) {
|
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)
|
addPlayerIfNotExists(playerString)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -165,11 +165,11 @@
|
||||||
</div>
|
</div>
|
||||||
</tab>
|
</tab>
|
||||||
|
|
||||||
<tab>
|
<!--<tab>-->
|
||||||
<ng-template tabHeading>
|
<!--<ng-template tabHeading>-->
|
||||||
<img src="../../../assets/player-stats-btn.png"> Player
|
<!--<img src="../../../assets/player-stats-btn.png"> Player-->
|
||||||
</ng-template>
|
<!--</ng-template>-->
|
||||||
</tab>
|
<!--</tab>-->
|
||||||
</tabset>
|
</tabset>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue