From e4b3461441720239fc80ad682471ec653645f626 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Wed, 25 Nov 2020 10:09:53 +0000 Subject: [PATCH] Fix useless assignement in webrtc/library_godot_webrtc.js (cherry picked from commit 4f654dad13e0580b1238b11bf4381453397ae017) --- modules/webrtc/library_godot_webrtc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/webrtc/library_godot_webrtc.js b/modules/webrtc/library_godot_webrtc.js index 3b2a8fe60c8..f725a10a6f5 100644 --- a/modules/webrtc/library_godot_webrtc.js +++ b/modules/webrtc/library_godot_webrtc.js @@ -208,7 +208,7 @@ const GodotRTCPeerConnection = { if (!ref) { return; } - let state = 5; // CLOSED + let state; switch (p_conn.iceConnectionState) { case 'new': state = 0;