Fix useless assignement in webrtc/library_godot_webrtc.js

This commit is contained in:
Marcel Admiraal 2020-11-25 10:09:53 +00:00
parent 113ea1de2a
commit 4f654dad13

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;