diff --git a/addons/no_twitch/twitch_connection.gd b/addons/no_twitch/twitch_connection.gd index dc73a5a..6a5de96 100644 --- a/addons/no_twitch/twitch_connection.gd +++ b/addons/no_twitch/twitch_connection.gd @@ -279,6 +279,9 @@ class HTTPResponse: signal response_received + ## The infuriatingly needed data variable. Because you can't await AND get signal data. + var inf_data + func _init(http : HTTPRequest, storage : Array): storage.append(self) @@ -297,6 +300,7 @@ class HTTPResponse: info = info.data[0] print("Response Received") + inf_data = info response_received.emit(info) http.queue_free()