diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-27 11:49:15 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-27 11:49:15 +0200 |
commit | 8895fc5a00e638b9260cc07749085b8c9f4e0459 (patch) | |
tree | bfc272beae522e8cb5b2b92a27ea302bb04172b8 | |
parent | 0fcb42c3012926ae761010624fe63c7f43c3784a (diff) | |
parent | beedaa3079119f970fdb1ca51395b343443a6778 (diff) | |
download | hurrycurry-8895fc5a00e638b9260cc07749085b8c9f4e0459.tar hurrycurry-8895fc5a00e638b9260cc07749085b8c9f4e0459.tar.bz2 hurrycurry-8895fc5a00e638b9260cc07749085b8c9f4e0459.tar.zst |
Merge branch 'master' of codeberg.org:metamuffin/undercooked
-rw-r--r-- | client/global.gd | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/client/global.gd b/client/global.gd index 42a5eac2..f26a066f 100644 --- a/client/global.gd +++ b/client/global.gd @@ -73,14 +73,7 @@ func load_dict(path: String, default: Dictionary) -> Dictionary: return res func on_vulkan() -> bool: - if OS.has_feature("web"): - return false - elif OS.has_feature("pc"): - return true - elif OS.has_feature("mobile"): - return false - push_error("Unknown platform, assuming vulkan") - return true + return ProjectSettings.get_setting("rendering/rendering_device/driver") == "vulkan" func focus_first_button(node: Node) -> bool: if node is Button: |