Update epic kill streak in post battle.
This commit is contained in:
parent
099152b820
commit
dca34036a7
|
@ -384,6 +384,8 @@ static void postBattle(void)
|
|||
}
|
||||
}
|
||||
|
||||
game.stats[STAT_EPIC_KILL_STREAK] = MAX(game.stats[STAT_EPIC_KILL_STREAK], battle.stats[STAT_EPIC_KILL_STREAK]);
|
||||
|
||||
updateAccuracyStats(game.stats);
|
||||
|
||||
if (!game.currentMission->challengeData.isChallenge)
|
||||
|
|
|
@ -84,10 +84,6 @@ void initPlayer(void)
|
|||
battle.boostTimer = BOOST_RECHARGE_TIME;
|
||||
battle.ecmTimer = ECM_RECHARGE_TIME;
|
||||
|
||||
game.stats[STAT_EPIC_KILL_STREAK] = MAX(game.stats[STAT_EPIC_KILL_STREAK], battle.stats[STAT_EPIC_KILL_STREAK]);
|
||||
|
||||
battle.stats[STAT_EPIC_KILL_STREAK] = 0;
|
||||
|
||||
player->flags |= EF_NO_HEALTH_BAR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue