Fixed project settings overrides not using custom feature tags.

This commit is contained in:
matthew1006 2018-06-27 12:37:55 +01:00
parent 68f7cf13c7
commit 1844704c20
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ bool ProjectSettings::_set(const StringName &p_name, const Variant &p_value) {
else { else {
if (p_name == CoreStringNames::get_singleton()->_custom_features) { if (p_name == CoreStringNames::get_singleton()->_custom_features) {
Vector<String> custom_feature_array = p_value; Vector<String> custom_feature_array = String(p_value).split(",");
for (int i = 0; i < custom_feature_array.size(); i++) { for (int i = 0; i < custom_feature_array.size(); i++) {
custom_features.insert(custom_feature_array[i]); custom_features.insert(custom_feature_array[i]);