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
No known key found for this signature in database
GPG key ID: C3336907360768E1

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;