Leader: small fix in the menu description
This commit is contained in:
parent
a750dccbc1
commit
9bb2d04e3a
@ -1009,7 +1009,10 @@ public void LeaderMenu(int client)
|
|||||||
for(int i = 0; i <= 3; i++)
|
for(int i = 0; i <= 3; i++)
|
||||||
{
|
{
|
||||||
if(!StrEqual(ping[i], ""))
|
if(!StrEqual(ping[i], ""))
|
||||||
|
{
|
||||||
StrCat(pings, sizeof(pings), ping[i]);
|
StrCat(pings, sizeof(pings), ping[i]);
|
||||||
|
StrCat(pings, sizeof(pings), " + ");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strlen(pings))
|
if(strlen(pings))
|
||||||
@ -1119,9 +1122,11 @@ public void SpriteMenu(int client)
|
|||||||
for(int i = 0; i <= 3; i++)
|
for(int i = 0; i <= 3; i++)
|
||||||
{
|
{
|
||||||
if(!StrEqual(ping[i], ""))
|
if(!StrEqual(ping[i], ""))
|
||||||
|
{
|
||||||
StrCat(pings, sizeof(pings), ping[i]);
|
StrCat(pings, sizeof(pings), ping[i]);
|
||||||
|
StrCat(pings, sizeof(pings), " + ");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strlen(pings))
|
if(strlen(pings))
|
||||||
pings[strlen(pings) - 2] = 0;
|
pings[strlen(pings) - 2] = 0;
|
||||||
else
|
else
|
||||||
@ -1224,7 +1229,10 @@ public void PingMenu(int client)
|
|||||||
for(int i = 0; i <= 3; i++)
|
for(int i = 0; i <= 3; i++)
|
||||||
{
|
{
|
||||||
if(!StrEqual(ping[i], ""))
|
if(!StrEqual(ping[i], ""))
|
||||||
|
{
|
||||||
StrCat(pings, sizeof(pings), ping[i]);
|
StrCat(pings, sizeof(pings), ping[i]);
|
||||||
|
StrCat(pings, sizeof(pings), " + ");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strlen(pings))
|
if(strlen(pings))
|
||||||
|
Loading…
Reference in New Issue
Block a user