You've already forked AstralRinth
forked from didirus/AstralRinth
Servers fixes
This commit is contained in:
@@ -343,13 +343,13 @@ export const getArrayOrString = (x: string[] | string): string[] => {
|
||||
}
|
||||
|
||||
export function getPingLevel(ping: number) {
|
||||
if (ping < 150) {
|
||||
if (ping < 120) {
|
||||
return 5
|
||||
} else if (ping < 300) {
|
||||
} else if (ping < 200) {
|
||||
return 4
|
||||
} else if (ping < 600) {
|
||||
} else if (ping < 300) {
|
||||
return 3
|
||||
} else if (ping < 1000) {
|
||||
} else if (ping < 400) {
|
||||
return 2
|
||||
} else {
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user