mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-17 01:32:34 +00:00
Fix some weird scoping issues with ServerListUpdater lambdas
This commit is contained in:
@@ -308,6 +308,8 @@ class W3DHub
|
||||
# ...players[]:
|
||||
# nick, team (index of teams array), score, kills, deaths
|
||||
def self.server_details(id, level)
|
||||
return false unless id && level
|
||||
|
||||
response = get("#{SERVER_LIST_ENDPOINT}/listings/getStatus/v2/#{id}?statusLevel=#{level}", DEFAULT_HEADERS, nil, :gsh)
|
||||
|
||||
if response.status == 200
|
||||
|
||||
Reference in New Issue
Block a user