summaryrefslogtreecommitdiff
path: root/modules/webrtc/library_godot_webrtc.js
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-11-25 10:09:53 +0000
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-11-25 10:09:53 +0000
commit4f654dad13e0580b1238b11bf4381453397ae017 (patch)
tree881a0903f8ce3d5b15611217df2db430df43905f /modules/webrtc/library_godot_webrtc.js
parent113ea1de2a9d642a07616090b88a1973e727f4cb (diff)
Fix useless assignement in webrtc/library_godot_webrtc.js
Diffstat (limited to 'modules/webrtc/library_godot_webrtc.js')
-rw-r--r--modules/webrtc/library_godot_webrtc.js2
1 files changed, 1 insertions, 1 deletions
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;