소스 검색

Lua : Update Lib.tableToArray call

Justin Donaldson 9 년 전
부모
커밋
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> {
-		return Boot.tableToArray(t, length);
+		return Boot.defArray(t, length);
 	}
 
 	public inline static function tableToObject<T>(t:Table<String,T>) : Dynamic<T> {