Browse Source

Lua: fix _bind with ...

Justin Donaldson 10 years ago
parent
commit
7154469b76
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/lua/Boot.hx

+ 1 - 1
std/lua/Boot.hx

@@ -59,7 +59,7 @@ class Boot {
 		if ( o.hx__closures__ == null ) o.hx__closures__ = {};
 		else untyped f = o.hx__closures__[m];
 		if (f == null){
-			f = untyped __lua__("function(...) return m(o,arg) end;");
+			f = untyped __lua__("function(...) return m(o, ...) end");
 			untyped o.hx__closures__[m] = f;
 		}
 		return f;