Skip to content

Commit

Permalink
Tweak color thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Feb 21, 2024
1 parent 7385ff6 commit 994053e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tgui/packages/tgui/interfaces/PingRelaysPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const COLORS = [
];

const getPingColor = function (ping) {
if (ping < 100) {
if (ping < 200) {
return COLORS[2];
}
if (ping < 400) {
if (ping < 500) {
return COLORS[1];
}
return COLORS[0];
Expand Down

0 comments on commit 994053e

Please sign in to comment.