You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix WebSocketMultiplayerPeer server crash
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user