2
0
Эх сурвалжийг харах

Lua : Update Lib.tableToArray call

Justin Donaldson 9 жил өмнө
parent
commit
f2b00ddc96
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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> {
 	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> {
 	public inline static function tableToObject<T>(t:Table<String,T>) : Dynamic<T> {