[Web] Always return 0 for OS::get_process_id()

This commit is contained in:
Adam Scott
2025-05-16 15:42:12 -04:00
parent 34f005d810
commit 6e6c4d3045
2 changed files with 2 additions and 2 deletions

View File

@ -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 {