parent
639d7d0aa8
commit
06a5074d75
|
@ -106,13 +106,14 @@ const parseWarLog = (lineArray, war) => {
|
|||
stats.war['endBudgetBlufor'] = transformMoneyString(budg[9]);
|
||||
stats.war['endBudgetOpfor'] = transformMoneyString(budg[12].slice(0, -2));
|
||||
stats.war.endDate = getFullTimeDate(war.date, budg[5]);
|
||||
} else if (line.includes('Respawn von ')) {
|
||||
} else {
|
||||
if (line.includes('Respawn von ')) {
|
||||
/**
|
||||
* RESPAWN
|
||||
*/
|
||||
const playerName = line.substring(line.lastIndexOf('Respawn von ') + 12, line.lastIndexOf('"'));
|
||||
stats.respawn.push(getRespawnEntry(budg, playerName, war._id, war.date));
|
||||
} else {
|
||||
}
|
||||
stats.budget.push(getBudgetEntry(budg, war._id, war.date));
|
||||
}
|
||||
} else if (line.includes('(Fahne)') && !line.includes('Dominator')) {
|
||||
|
|
Loading…
Reference in New Issue