Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasylidong committed Apr 16, 2024
1 parent 5f7646a commit 7a5124b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified addons/sourcemod/plugins/optional/AnneHappy/survivor_mvp.smx
Binary file not shown.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/AnneHappy/survivor_mvp.sp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void displaykillinfected()
}
public int SortByDamageDesc(int elem1, int elem2, const int[] array, Handle hndl)
{
if (iDidDamage[elem1] + KillInfected[elem1] * CommonInfectedBonus > iDidDamage[elem2] + KillInfected[elem1] * CommonInfectedBonus) return -1;
if (iDidDamage[elem1] + KillInfected[elem1] * CommonInfectedBonus > iDidDamage[elem2] + KillInfected[elem2] * CommonInfectedBonus) return -1;
else if (iDidDamage[elem2] > iDidDamage[elem1]) return 1;
else if (elem1 > elem2) return -1;
else if (elem2 > elem1) return 1;
Expand Down

0 comments on commit 7a5124b

Please sign in to comment.