Commit c8a03d68 authored by Neoony's avatar Neoony
Browse files

Small fix

parent 6e3b6d0c
......@@ -212,7 +212,7 @@ function RefreshSQL()
if (namex[i] != 'Empires Lobby')
{
if (HighestCurPopulation < playersx[i])
if (HighestCurPopulation <= playersx[i])
{
HighestCurPopulation = playersx[i];
HighestPopServer = i;
......@@ -273,9 +273,7 @@ function RefreshSQL()
messageServerOn += "```CSS\n" + "Total number of players: " + numberofallplayers + "\nServers: " + numberofservers + "\n" + "```";
if (numberofallplayers == 0)
{
{
//client.user.setActivity('Waiting for players');
client.user.setPresence({ game: { name: "Waiting for players", type: "Playing", url: "https://empiresmod.com"}});
client.user.setStatus('idle');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment