From 4f654dad13e0580b1238b11bf4381453397ae017 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Wed, 25 Nov 2020 10:09:53 +0000 Subject: Fix useless assignement in webrtc/library_godot_webrtc.js --- 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 3b2a8fe60c..f725a10a6f 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; -- cgit v1.2.3