diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-25 12:17:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 12:17:21 +0100 |
commit | 81842a7cd621ab5401f0bda498d771d2e964c3bf (patch) | |
tree | 9933e0a1795cfaef54c7dc742b7760514cff0c84 | |
parent | 6dfcc4aa80e3d5fddbf0759336aa3be7d1e04794 (diff) | |
parent | 4f654dad13e0580b1238b11bf4381453397ae017 (diff) |
Merge pull request #43850 from madmiraal/fix-useless-assignment
Fix useless assignement in webrtc/library_godot_webrtc.js
-rw-r--r-- | modules/webrtc/library_godot_webrtc.js | 2 |
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; |