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/os | |
parent | 5b7ebf4d04129d55cfaf346b0ce2de1fe8601579 (diff) |
Fixed OS.has_feature not using custom feature tags.
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/os.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp index 5eed10e30c..d0a7bc6fbe 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -614,6 +614,9 @@ bool OS::has_feature(const String &p_feature) { if (_check_internal_feature_support(p_feature)) return true; + if (ProjectSettings::get_singleton()->has_custom_feature(p_feature)) + return true; + return false; } |