mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Fixed auto selected server not checking if full, fixed game icon on bar only showing update available icon for 'first' channel
This commit is contained in:
@@ -250,7 +250,7 @@ class W3DHub
|
||||
return nil unless app_data
|
||||
|
||||
found_server = Store.server_list.select do |server|
|
||||
server.game == app_id && server.channel == channel && !server.status.password
|
||||
server.game == app_id && server.channel == channel && !server.status.password && server.status.player_count < server.status.max_players
|
||||
end&.first
|
||||
|
||||
found_server ? found_server : nil
|
||||
|
||||
Reference in New Issue
Block a user