Support 'play now' server selection

This commit is contained in:
2026-09-18 15:25:22 -05:00
parent f8ceb69402
commit 17614f4416
5 changed files with 38 additions and 3 deletions

View File

@@ -159,7 +159,9 @@ module W3DHubLauncher
def populate_server_information(server)
return unless @server_details_container.visible?
# FIXME: check server channel against application channel's `server_channel`
application = MemCache[:settings].applications.find { |app| app.id == server.game && app.channel == server.channel }
# channel = MemCache[:applications].find { |appl| appl.id == application&.id }&.channels&.find { |c| c.id == application&.channel }
@server_details_container.clear do
tagline server.name, width: 1.0, text_wrap: :none, tip: server.name