diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-02 13:16:31 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-02 13:16:31 +0200 |
commit | 5fe97c58449e610eb3b261d8b03662c90b9a351d (patch) | |
tree | b378135be1ff0937e339cb95c01d9062fedd731d /platform/web/os_web.cpp | |
parent | bc118b36ac55d2d37b9fe6f08c8cfd42f3c69bc4 (diff) | |
parent | 0a10f09ce4321695940a626eef9c64b36f599193 (diff) | |
download | redot-engine-5fe97c58449e610eb3b261d8b03662c90b9a351d.tar.gz |
Merge pull request #82441 from akien-mga/web-clarify-get_unique_id
Web: Clarify that `OS.get_unique_id` is not supported
Diffstat (limited to 'platform/web/os_web.cpp')
-rw-r--r-- | platform/web/os_web.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/web/os_web.cpp b/platform/web/os_web.cpp index f038f0248a..186e4abf92 100644 --- a/platform/web/os_web.cpp +++ b/platform/web/os_web.cpp @@ -132,6 +132,10 @@ int OS_Web::get_processor_count() const { return godot_js_os_hw_concurrency_get(); } +String OS_Web::get_unique_id() const { + ERR_FAIL_V_MSG("", "OS::get_unique_id() is not available on the Web platform."); +} + bool OS_Web::_check_internal_feature_support(const String &p_feature) { if (p_feature == "web") { return true; |