summaryrefslogtreecommitdiffstats
path: root/editor/engine_update_label.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/engine_update_label.cpp')
-rw-r--r--editor/engine_update_label.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/engine_update_label.cpp b/editor/engine_update_label.cpp
index 92327e41bd..7e16c6b86e 100644
--- a/editor/engine_update_label.cpp
+++ b/editor/engine_update_label.cpp
@@ -49,7 +49,7 @@ bool EngineUpdateLabel::_can_check_updates() const {
void EngineUpdateLabel::_check_update() {
checked_update = true;
_set_status(UpdateStatus::BUSY);
- http->request("https://godotengine.org/versions.json");
+ http->request("https://redotengine.org/versions.json");
}
void EngineUpdateLabel::_http_request_completed(int p_result, int p_response_code, const PackedStringArray &p_headers, const PackedByteArray &p_body) {
@@ -235,7 +235,7 @@ EngineUpdateLabel::VersionType EngineUpdateLabel::_get_version_type(const String
if (index_string.is_empty()) {
*r_index = DEV_VERSION;
} else {
- *r_index = index_string.to_int();
+ *r_index = index_string.trim_prefix(".").to_int();
}
}
return type;