Browse Source

Merge pull request #43850 from madmiraal/fix-useless-assignment

Fix useless assignement in webrtc/library_godot_webrtc.js
Rémi Verschelde 4 years ago
parent
commit
81842a7cd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/webrtc/library_godot_webrtc.js

+ 1 - 1
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;