Skip to content

Commit 4322d36

Browse files
authored
Merge pull request #832 from Spartan322/4.3-fix/template-downloads-available
[4.3] Fix templates treating official releases as dev releases
2 parents 8724461 + f615cbb commit 4322d36

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

editor/export/export_template_manager.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -873,11 +873,11 @@ ExportTemplateManager::ExportTemplateManager() {
873873
// (which always have a number following their status, e.g. "alpha1").
874874
// Therefore, don't display download-related features when using a development version
875875
// (whose builds aren't numbered).
876-
downloads_available =
877-
String(VERSION_STATUS) != String("dev") &&
878-
String(VERSION_STATUS) != String("alpha") &&
879-
String(VERSION_STATUS) != String("beta") &&
880-
String(VERSION_STATUS) != String("rc");
876+
downloads_available = VERSION_STATUS_VERSION > 0 ||
877+
(String(VERSION_STATUS) != String("dev") &&
878+
String(VERSION_STATUS) != String("alpha") &&
879+
String(VERSION_STATUS) != String("beta") &&
880+
String(VERSION_STATUS) != String("rc"));
881881

882882
VBoxContainer *main_vb = memnew(VBoxContainer);
883883
add_child(main_vb);

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
minor = 3
55
patch = 0
66
status = "beta"
7-
status_version = 1
7+
status_version = 0
88
module_config = ""
99
website = "https://redotengine.org"
1010
docs = "4.3"

0 commit comments

Comments
 (0)