summaryrefslogtreecommitdiff
path: root/scene/main/http_request.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-02-24 01:20:50 +0100
committerGitHub <noreply@github.com>2018-02-24 01:20:50 +0100
commited0d1a440474d862bca9d05645f46fda8d4c43b4 (patch)
tree34c7229b46c05fed059617d23432471fc1ca352d /scene/main/http_request.cpp
parent0712acec1c21b5683f4cfe292bb82f7d1d37cae0 (diff)
parent23ebae01dc7e3df9c842ca7d017f7b233837721d (diff)
Merge pull request #16957 from akien-mga/version-macros
Refactor version macros and fix related bugs
Diffstat (limited to 'scene/main/http_request.cpp')
-rw-r--r--scene/main/http_request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/http_request.cpp b/scene/main/http_request.cpp
index 3d58aa65f8..ae21775c55 100644
--- a/scene/main/http_request.cpp
+++ b/scene/main/http_request.cpp
@@ -121,7 +121,7 @@ Error HTTPRequest::request(const String &p_url, const Vector<String> &p_custom_h
}
if (!has_user_agent) {
- headers.push_back("User-Agent: GodotEngine/" + String(VERSION_MKSTRING) + " (" + OS::get_singleton()->get_name() + ")");
+ headers.push_back("User-Agent: GodotEngine/" + String(VERSION_FULL_BUILD) + " (" + OS::get_singleton()->get_name() + ")");
}
if (!has_accept) {