mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Merge pull request #50015 from fire/protocol-shadow
Protocol shadows a variable.
This commit is contained in:
commit
4622bef419
@ -50,9 +50,9 @@ void EditorDebuggerServerWebSocket::poll() {
|
||||
|
||||
Error EditorDebuggerServerWebSocket::start() {
|
||||
int remote_port = (int)EditorSettings::get_singleton()->get("network/debug/remote_port");
|
||||
Vector<String> protocols;
|
||||
protocols.push_back("binary"); // compatibility with EMSCRIPTEN TCP-to-WebSocket layer.
|
||||
return server->listen(remote_port, protocols);
|
||||
Vector<String> compatible_protocols;
|
||||
compatible_protocols.push_back("binary"); // compatibility with EMSCRIPTEN TCP-to-WebSocket layer.
|
||||
return server->listen(remote_port, compatible_protocols);
|
||||
}
|
||||
|
||||
void EditorDebuggerServerWebSocket::stop() {
|
||||
|
Loading…
Reference in New Issue
Block a user