Selaa lähdekoodia

Lua : Update Lib.tableToArray call

Justin Donaldson 9 vuotta sitten
vanhempi
commit
f2b00ddc96
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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> {