diff options
-rw-r--r-- | src/obswebsocket.cr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/obswebsocket.cr b/src/obswebsocket.cr index 5f19008..de0e235 100644 --- a/src/obswebsocket.cr +++ b/src/obswebsocket.cr @@ -332,6 +332,8 @@ module OBS @scenes[edata["sceneName"].to_s].deletecache() # This could probably be made more efficient using the eventData when "SceneItemLockStateChanged" + edata = d["eventData"] + @scenes[edata["sceneName"].to_s].deletecache() when "SceneItemTransformChanged" edata = d["eventData"] transform = edata["sceneItemTransform"] |