 .directive "assetDropzone", (currentGame, dndHelper, circuits) ->
   restrict: 'A',
   link: (scope, element, attrs) ->
-    acceptDrop = (event) -> dndHelper.getDraggedData(event)?.asset?
+    acceptDrop = (event) -> dndHelper.getDraggedData()?.asset?
 
     el = element[0]
     el.addEventListener "drop", (event) -> 


      draggedData = dndHelper.getDraggedData(event)
      
      currentCircuitData = currentGame.version.circuits[circuits.currentCircuitMeta.type]
      currentCircuitData.assets[draggedData.asset.name] = draggedData.asset.data
      currentGame.updateLocalVersion()

      return false

        e?.stopPropagation()
        e.dataTransfer.effectAllowed = 'copy'
        data = parsedDrag(scope)
        dndHelper.setDraggedData({ asset: data })
        return false

      el.addEventListener "dragend", (e) ->
