diff --git a/app/assets/js/scripts/overlay.js b/app/assets/js/scripts/overlay.js index ed70404..dd314d0 100644 --- a/app/assets/js/scripts/overlay.js +++ b/app/assets/js/scripts/overlay.js @@ -267,6 +267,12 @@ function populateServerListings(){ const servers = distro.getServers() let htmlString = '' for(const serv of servers){ + if(serv.getServerCode() != null && serv.getServerCode() === ''){ + if(ConfigManager.getServerCode() !== serv.getServerCode()){ + // skips any servers which the player hasn't got the code to access + continue + } + } htmlString += `