1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

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;