Patched Twitch_Setup_Dialog erroring after NoTwitch Update

This commit is contained in:
Eroax 2024-01-21 22:51:48 -07:00
parent 7cf9abd306
commit 1fb7c94c88

View file

@ -42,7 +42,7 @@ func copy_auth_link():
func connect_to_chat():
if Connections.twitch.chat_socket.get_ready_state() != WebSocketPeer.STATE_OPEN:
if !Connections.twitch.get("chat_socket") or Connections.twitch.chat_socket.get_ready_state() != WebSocketPeer.STATE_OPEN:
Connections.twitch.setup_chat_connection(%Default_Chat.text)