Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/classes/OS.xml
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@
<return type="int" />
<description>
Returns the number used by the host machine to uniquely identify this application.
[b]Note:[/b] This method is implemented on Android, iOS, Linux, macOS, and Windows.
[b]Note:[/b] On Web, this method always returns [code]0[/code].
</description>
</method>
<method name="get_processor_count" qualifiers="const">
Expand Down
2 changes: 1 addition & 1 deletion platform/web/os_web.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Error OS_Web::kill(const ProcessID &p_pid) {
}

int OS_Web::get_process_id() const {
ERR_FAIL_V_MSG(0, "OS::get_process_id() is not available on the Web platform.");
return 0;
}

bool OS_Web::is_process_running(const ProcessID &p_pid) const {
Expand Down