Skip to content

Commit

Permalink
parkour frags shouldn't show
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowberryHN committed Sep 16, 2023
1 parent 9494362 commit 7789ef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/fpsgame/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@ namespace game
actor->frags = frags;
if(m_teammode) setteaminfo(actor->team, tfrags);
extern int hidefrags;
if(actor!=player1 && (!cmode || !cmode->hidefrags() || !hidefrags))
if(actor!=player1 && (!cmode || !cmode->hidefrags() || !hidefrags) && !m_parkour)
{
defformatstring(ds, "%d", actor->frags);
particle_textcopy(actor->abovehead(), ds, PART_TEXT, 2000, 0x32FF64, 4.0f, -8);
Expand Down
2 changes: 1 addition & 1 deletion src/fpsgame/scoreboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ namespace game
g.poplist();
}

if (!cmode || !cmode->hidefrags() || !hidefrags || m_parkour)
if ((!cmode || !cmode->hidefrags() || !hidefrags) && !m_parkour) // lol this still shows up in parkour ????? -Y
{
g.space(2);
g.pushlist();
Expand Down

0 comments on commit 7789ef9

Please sign in to comment.