mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
Fix WebSocketMultiplayerPeer server crash
This commit is contained in:
parent
19c9fd6926
commit
5cb60dff96
@ -340,6 +340,7 @@ void WebSocketMultiplayerPeer::_poll_server() {
|
||||
to_remove.insert(id);
|
||||
continue;
|
||||
}
|
||||
peer.connection = tls;
|
||||
}
|
||||
Ref<StreamPeerTLS> tls = static_cast<Ref<StreamPeerTLS>>(peer.connection);
|
||||
tls->poll();
|
||||
|
Loading…
Reference in New Issue
Block a user