Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
nord is love nord is life
Browse files Browse the repository at this point in the history
  • Loading branch information
totles committed Feb 12, 2019
1 parent 662ae69 commit a08650f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions addons/sourcemod/scripting/surftimer/misc.sp
Original file line number Diff line number Diff line change
Expand Up @@ -4219,11 +4219,11 @@ public void GetSpeedColour(int client, int speed, int type)
else if (type == 3 && g_SpeedMode[client] == 0) // gain/loss
{
if (speed >= GetConVarInt(g_hMaxVelocity))
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#a300ff");
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#b48ead");
else if (g_iPreviousSpeed[client] < speed || g_iPreviousSpeed[client] == speed)
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#66bbff");
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#88c0d0");
else
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#ff7d7d");
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#bf616a");

g_iPreviousSpeed[client] = speed;
}
Expand All @@ -4250,11 +4250,11 @@ public void GetSpeedColour(int client, int speed, int type)
else if (type == 3 && g_SpeedMode[client] == 0) // gain/loss
{
if (speed >= GetConVarInt(g_hMaxVelocity))
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#a300ff");
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#b48ead");
else if (g_iPreviousSpeed[client] < speed || g_iPreviousSpeed[client] == speed)
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#66bbff");
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#88c0d0");
else
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#ff7d7d");
Format(g_szSpeedColour[client], sizeof(g_szSpeedColour), "#bf616a");

g_iPreviousSpeed[client] = speed;
}
Expand Down

0 comments on commit a08650f

Please sign in to comment.