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

Fix useless assignement in webrtc/library_godot_webrtc.js
This commit is contained in:
Rémi Verschelde 2020-11-25 12:17:21 +01:00 committed by GitHub
commit 81842a7cd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;