aboutsummaryrefslogtreecommitdiff
path: root/server/src/main.cpp
diff options
context:
space:
mode:
authorauth <[email protected]>2020-07-17 15:38:48 +0200
committerauth <[email protected]>2020-07-17 15:38:48 +0200
commit4f6ed0cbb36c6912feed7db96d963ad0b1145b02 (patch)
tree6391e1cc30bc329dd060ca009337ead762848264 /server/src/main.cpp
parentRemoved un (diff)
parentAdded certificates. (diff)
downloadloader-4f6ed0cbb36c6912feed7db96d963ad0b1145b02.tar.xz
loader-4f6ed0cbb36c6912feed7db96d963ad0b1145b02.zip
Merge branch 'master' into windows
Diffstat (limited to 'server/src/main.cpp')
-rw-r--r--server/src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/main.cpp b/server/src/main.cpp
index d70b4cf..81de12e 100644
--- a/server/src/main.cpp
+++ b/server/src/main.cpp
@@ -2,7 +2,6 @@
#include "util/io.h"
#include "util/commands.h"
#include "server/server.h"
-#include "image/pe.h"
constexpr std::string_view version{"0.1.0"};
@@ -138,6 +137,8 @@ int main(int argc, char* argv[]) {
}
json["result"] = tcp::client_response::login_success;
+ json["games"]["csgo"] = {{"version", 1.2}, {"id", 0}};
+ json["games"]["csgo beta"] = {{"version", 1.2}, {"id", 1}};
client.write(tcp::packet_t(json.dump(), tcp::packet_type::write,
session, tcp::packet_id::login_resp));