diff options
Diffstat (limited to 'StarsEx/NetLobbyClient.cpp')
-rw-r--r-- | StarsEx/NetLobbyClient.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/StarsEx/NetLobbyClient.cpp b/StarsEx/NetLobbyClient.cpp index 603c1cb..33f54ce 100644 --- a/StarsEx/NetLobbyClient.cpp +++ b/StarsEx/NetLobbyClient.cpp @@ -248,6 +248,15 @@ NetLobbyClient::GetMachineInfo() return NetLobby::GetMachineInfo(); } +const Text& +NetLobbyClient::GetVersion() +{ + if (server_info.status > NetServerInfo::OFFLINE) + return server_info.version; + + return NetLobby::GetVersion(); +} + int NetLobbyClient::GetStatus() const { |