From 25e64ffa20a15abe6c435ae8abf517be209fea53 Mon Sep 17 00:00:00 2001 From: matthew1006 Date: Wed, 18 Jul 2018 09:22:59 +0100 Subject: Fixed OS.has_feature not using custom feature tags. --- core/os/os.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/os') 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; } -- cgit v1.2.3