JOIN button now pulls up a dialog with the auto selected game server to confirm player wants to join that server; TODO: If only one server exists then join that one directly, if multiple exist the offer the 'best' three or something, don't crash if we somehow get a server update without the server list being nil

This commit is contained in:
2026-10-15 11:34:17 -05:00
parent 936b1ae5d9
commit e344a492e0
4 changed files with 42 additions and 32 deletions

View File

@@ -21,6 +21,7 @@ module W3DHubLauncher
if existing_game_server
MemCache[:servers][MemCache[:servers].index(existing_game_server)] = game_server
else
MemCache[:servers] ||= []
MemCache[:servers] << game_server
end
end
@@ -32,6 +33,7 @@ module W3DHubLauncher
if existing_game_server
MemCache[:servers][MemCache[:servers].index(existing_game_server)] = game_server
else
MemCache[:servers] ||= []
MemCache[:servers] << game_server
end
end