Permalink
Browse files

Fix: Servers can register in the lobby even though it is disabled in …

…the settings
  • Loading branch information...
1 parent d6bf89c commit 264e763237038353ab170b68dd3e3204042311ca @Medo42 committed Feb 9, 2014
@@ -2,7 +2,7 @@ if(serverbalance != 0)
balancecounter+=1;
// Register with Lobby Server every 30 seconds
-if(global.useLobbyServer and (frame mod 900)==0)
+if((frame mod 900)==0)
sendLobbyRegistration();
frame += 1;
@@ -1,3 +1,6 @@
+if(!global.useLobbyServer)
+ exit;
+
var noOfPlayers;
noOfPlayers = ds_list_size(global.players);
if(global.dedicatedMode)

0 comments on commit 264e763

Please sign in to comment.