You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 19:11:41 +00:00
Fix hybrid app support detection for the Android editor
This commit is contained in:
@@ -104,8 +104,8 @@ abstract class BaseGodotGame: GodotEditor() {
|
||||
@CallSuper
|
||||
override fun supportsFeature(featureTag: String): Boolean {
|
||||
if (HYBRID_APP_FEATURE == featureTag) {
|
||||
// Check if hybrid is enabled
|
||||
return isHybridAppEnabled()
|
||||
// Check if hybrid is enabled.
|
||||
return godot?.isXrRuntime == true && isHybridAppEnabled()
|
||||
}
|
||||
|
||||
return super.supportsFeature(featureTag)
|
||||
|
||||
Reference in New Issue
Block a user