Skip to content

Commit

Permalink
also update level filename autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
GooberRF committed Dec 11, 2024
1 parent 2b71fed commit 6696f83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Version 1.9.0 (not released yet)
- Add mod name to main menu
- Make value of `spectate_mode_minimal_ui` persist between game launches
- Add `version` command
- Support autocompleting of console command names from only 1 character
- Support autocompleting of level filenames and console commands from only 1 character

[@is-this-c](https://github.com/is-this-c)
- Support `©` in TrueType fonts
Expand Down
2 changes: 1 addition & 1 deletion game_patch/os/autocomplete.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void console_auto_complete_level(int offset)
{
std::string level_name;
console_auto_complete_get_component(offset, level_name);
if (level_name.size() < 3)
if (level_name.size() < 1)
return;

bool first = true;
Expand Down

0 comments on commit 6696f83

Please sign in to comment.