Nicolas Cannasse 11 anni fa
parent
commit
203e9455fc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      h2d/Console.hx

+ 1 - 1
h2d/Console.hx

@@ -93,7 +93,7 @@ class Console extends h2d.Sprite {
 	function showHelp( ?command : String ) {
 		var all;
 		if( command == null ) {
-			all = Lambda.array( { iterator : commands.keys } );
+			all = Lambda.array( { iterator : function() return commands.keys() } );
 			all.sort(Reflect.compare);
 			all.remove("help");
 			all.push("help");