Explorar o código

Lua : Update Lib.tableToArray call

Justin Donaldson %!s(int64=9) %!d(string=hai) anos
pai
achega
f2b00ddc96
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/lua/Lib.hx

+ 1 - 1
std/lua/Lib.hx

@@ -36,7 +36,7 @@ class Lib {
 	}
 
 	public inline static function tableToArray<T>(t:Table<Int,T>, ?length:Int) : Array<T> {
-		return Boot.tableToArray(t, length);
+		return Boot.defArray(t, length);
 	}
 
 	public inline static function tableToObject<T>(t:Table<String,T>) : Dynamic<T> {