From dae30964a2928a84501306736266ea55b3780da4 Mon Sep 17 00:00:00 2001 From: matthew1006 Date: Wed, 27 Jun 2018 12:37:55 +0100 Subject: [PATCH] Fixed project settings overrides not using custom feature tags. (cherry picked from commit 1844704c20c3ba74a6f18d0c781df8f006aa2d46) --- core/project_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/project_settings.cpp b/core/project_settings.cpp index 99c3f66c4c0..545cdbc7f7e 100644 --- a/core/project_settings.cpp +++ b/core/project_settings.cpp @@ -137,7 +137,7 @@ bool ProjectSettings::_set(const StringName &p_name, const Variant &p_value) { else { if (p_name == CoreStringNames::get_singleton()->_custom_features) { - Vector custom_feature_array = p_value; + Vector custom_feature_array = String(p_value).split(","); for (int i = 0; i < custom_feature_array.size(); i++) { custom_features.insert(custom_feature_array[i]);