2
0
Nicolas Cannasse 3 жил өмнө
parent
commit
31bc59642e
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      h2d/Console.hx

+ 3 - 0
h2d/Console.hx

@@ -330,6 +330,9 @@ class Console #if !macro extends h2d.Object #end {
 			}
 		}
 
+		if( aliases.exists(cmd) )
+			closestCommand = cmd;
+
 		if (hadShortKey && closestCommand != "")
 			closestCommand = String.fromCharCode(shortKeyChar) + closestCommand;
 		return closestCommand;