You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
[Web] Implement dummy NetSocketWeb
This makes the class available to avoid spam from classes using it, even if without any actual implementation (since raw sockets are not available on the web).
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#include "display_server_web.h"
|
||||
#include "godot_js.h"
|
||||
#include "ip_web.h"
|
||||
#include "net_socket_web.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/debugger/engine_debugger.h"
|
||||
@@ -55,6 +56,7 @@ void OS_Web::alert(const String &p_alert, const String &p_title) {
|
||||
void OS_Web::initialize() {
|
||||
OS_Unix::initialize_core();
|
||||
IPWeb::make_default();
|
||||
NetSocketWeb::make_default();
|
||||
DisplayServerWeb::register_web_driver();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user