Commit 9b2fb1d0 authored by Neoony's avatar Neoony
Browse files

- Fixed message "Waiting for players" would not show up if there was 8 players...

- Fixed message "Waiting for players" would not show up if there was 8 players out of Lobby, but on different servers
parent 31d09208
......@@ -284,7 +284,7 @@ function RefreshSQL()
client.user.setPresence({ game: { name: "with " + playersinlobby + " player @Lobby", type: "Playing", url: "https://empiresmod.com"}});
}
if (playersinlobby == 0 && playersoutoflobby < 8 && LobbyUp == 1)
if (playersinlobby == 0 && HighestCurPopulation < 8 && LobbyUp == 1)
{
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