Ver Fonte

- fixed for haxe 1.11

Laurent Bedubourg há 18 anos atrás
pai
commit
0843c25f85
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      std/mtwin/templo/Main.hx

+ 1 - 1
std/mtwin/templo/Main.hx

@@ -79,7 +79,7 @@ class Main {
 			neko.Lib.print(USAGE);
 		}
 		else if (Loader.BASE_DIR == null){
-			var sampleFile = Lambda.array(files.iterator())[0];
+			var sampleFile = Lambda.array(files)[0];
 			var pslah = sampleFile.lastIndexOf("/",sampleFile.length);
 			var aslah = sampleFile.lastIndexOf("/",sampleFile.length);
 			var pos = Std.int(Math.max(pslah, aslah));