diff --git a/exec/load/binkp.js b/exec/load/binkp.js index 0093bfc0c1a49312883772f4888516ea1b0e0448..071ba25ef452c90612b6223c29b7749b0ddd0138 100644 --- a/exec/load/binkp.js +++ b/exec/load/binkp.js @@ -759,7 +759,7 @@ BinkP.prototype.recvFrame = function(timeout) }; BinkP.prototype.addFile = function(path, sendas) { - var file = new File(name); + var file = new File(path); if (sendas === undefined) sendas = file_getname(path);