diff options
author | Vsono <26881983+Vsono@users.noreply.github.com> | 2023-02-23 18:59:55 +0900 |
---|---|---|
committer | unknown <26881983+Vsono@users.noreply.github.com> | 2023-02-23 20:00:00 +0900 |
commit | 5cb60dff964087e03e667df3f1dfc2c857c19f54 (patch) | |
tree | 467b0138d6a651be61a78620d21260ea72e1e2fe /modules | |
parent | 19c9fd6926b958016d562e3b2e93b0e9480300f5 (diff) |
Fix WebSocketMultiplayerPeer server crash
Diffstat (limited to 'modules')
-rw-r--r-- | modules/websocket/websocket_multiplayer_peer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/websocket/websocket_multiplayer_peer.cpp b/modules/websocket/websocket_multiplayer_peer.cpp index c12fc5e834..9e706dbeef 100644 --- a/modules/websocket/websocket_multiplayer_peer.cpp +++ b/modules/websocket/websocket_multiplayer_peer.cpp @@ -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(); |