[Editor] Fix missing "debug"/"release" export presets feature tags.

So the same code can be used in editor and debug exports ("release" is
kept for consistency).
This commit is contained in:
Fabio Alessandrelli 2023-01-12 15:15:59 +01:00
parent 9943cb6242
commit 9a59c0a47c
1 changed files with 2 additions and 0 deletions

View File

@ -444,8 +444,10 @@ HashSet<String> EditorExportPlatform::get_features(const Ref<EditorExportPreset>
result.insert("template");
if (p_debug) {
result.insert("debug");
result.insert("template_debug");
} else {
result.insert("release");
result.insert("template_release");
}