mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
Patched Twitch EventSub Event Data Caching
Wasn't caching the Event Data early enough to be accessed. So now it does.
This commit is contained in:
parent
d469680850
commit
6540e30552
1 changed files with 2 additions and 2 deletions
|
@ -35,11 +35,11 @@ func _event_received(event_name: StringName, event_data: Dictionary = {}):
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# Sends the data along as well as the fact that the event happened. While also caching the event data for later access
|
||||||
|
cached_event_data = event_data.payload
|
||||||
|
|
||||||
# Sends to indicate that the specified event has happened.
|
# Sends to indicate that the specified event has happened.
|
||||||
send(0, null)
|
send(0, null)
|
||||||
# Sends the data along as well as the fact that the event happened. While also caching the event data for later access
|
|
||||||
cached_event_data = event_data
|
|
||||||
send(1, event_data)
|
send(1, event_data)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue