Browse Source

Fix useless assignement in webrtc/library_godot_webrtc.js

(cherry picked from commit 4f654dad13e0580b1238b11bf4381453397ae017)
Marcel Admiraal 4 years ago
parent
commit
e4b3461441
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;