diff options
author | matthew1006 <matthew1006@hotmail.co.uk> | 2018-07-18 09:22:59 +0100 |
---|---|---|
committer | matthew1006 <matthew1006@hotmail.co.uk> | 2018-07-18 09:22:59 +0100 |
commit | 25e64ffa20a15abe6c435ae8abf517be209fea53 (patch) | |
tree | 52d8d0c7c7366a2869487aa16eabd1943df019d9 /core/project_settings.cpp | |
parent | 5b7ebf4d04129d55cfaf346b0ce2de1fe8601579 (diff) | |
download | redot-engine-25e64ffa20a15abe6c435ae8abf517be209fea53.tar.gz |
Fixed OS.has_feature not using custom feature tags.
Diffstat (limited to 'core/project_settings.cpp')
-rw-r--r-- | core/project_settings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/project_settings.cpp b/core/project_settings.cpp index b1fd66e566..db1d0a604c 100644 --- a/core/project_settings.cpp +++ b/core/project_settings.cpp @@ -912,6 +912,10 @@ Variant ProjectSettings::get_setting(const String &p_setting) const { return get(p_setting); } +bool ProjectSettings::has_custom_feature(const String &p_feature) const { + return custom_features.has(p_feature); +} + void ProjectSettings::_bind_methods() { ClassDB::bind_method(D_METHOD("has_setting", "name"), &ProjectSettings::has_setting); |