Fix useless assignement in webrtc/library_godot_webrtc.js

(cherry picked from commit 4f654dad13)
This commit is contained in:
Marcel Admiraal
2020-11-25 10:09:53 +00:00
committed by Rémi Verschelde
parent 0c50509326
commit e4b3461441

View File

@@ -208,7 +208,7 @@ const GodotRTCPeerConnection = {
if (!ref) {
return;
}
let state = 5; // CLOSED
let state;
switch (p_conn.iceConnectionState) {
case 'new':
state = 0;