mirror of
https://github.com/godotengine/godot.git
synced 2025-01-24 11:32:51 -05:00
Fix WebSocketMultiplayerPeer server crash
This commit is contained in:
parent
19c9fd6926
commit
5cb60dff96
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue