Skip to content

Commit

Permalink
Fix early completion of kills milestone
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlaux committed Feb 26, 2024
1 parent 68cf20c commit 4815060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p_inter.c
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ static void P_KillMobj(mobj_t *source, mobj_t *target, method_t mod)

// [Nugget] Announce milestone completion
if (!(complete_milestones & MILESTONE_KILLS)
&& (players->killcount >= max_kill_requirement))
&& ((players->killcount - players->maxkilldiscount) >= max_kill_requirement))
{
complete_milestones |= MILESTONE_KILLS;
if (announce_milestones) {
Expand Down

0 comments on commit 4815060

Please sign in to comment.