diff options
Diffstat (limited to 'modules/webrtc/webrtc_multiplayer.h')
-rw-r--r-- | modules/webrtc/webrtc_multiplayer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/webrtc/webrtc_multiplayer.h b/modules/webrtc/webrtc_multiplayer.h index 876e2c6fe9..906b90a1b6 100644 --- a/modules/webrtc/webrtc_multiplayer.h +++ b/modules/webrtc/webrtc_multiplayer.h @@ -56,8 +56,9 @@ private: ConnectedPeer() { connected = false; - for (int i = 0; i < CH_RESERVED_MAX; i++) + for (int i = 0; i < CH_RESERVED_MAX; i++) { channels.push_front(Ref<WebRTCDataChannel>()); + } } }; |