Merge pull request #19802 from matthew1006/custom-feature-tag-fix

Fixed project settings overrides not using custom feature tags.
This commit is contained in:
Max Hilbrunner 2018-07-03 15:37:02 +02:00 committed by GitHub
commit f276e24ea8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<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++) {
custom_features.insert(custom_feature_array[i]);