Skip to content

Commit

Permalink
Use dealiased name in autocompletion key
Browse files Browse the repository at this point in the history
  • Loading branch information
limbonaut committed Sep 9, 2024
1 parent f30c782 commit dae9ae4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion limbo_console.gd
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ func add_argument_autocomplete_source(p_command: String, p_argument: int, p_sour
if p_argument < 1 or p_argument > 5:
push_error("LimboConsole: Can't add autocomplete source: argument index out of bounds: ", p_argument)
return
var key := [p_command, p_argument]
var dealiased_name: String = _command_aliases.get(p_command, p_command)
var key := [dealiased_name, p_argument]
_argument_autocomplete_sources[key] = p_source


Expand Down

0 comments on commit dae9ae4

Please sign in to comment.