can't try to autocomplete keynames in the dedserver build - there aren't any keys :)

This commit is contained in:
arQon 2017-01-19 03:56:09 -08:00
parent 4f9754adfe
commit 379d2e9ee1

View file

@ -2873,9 +2873,13 @@ void Field_AutoCompleteDemoNameWrite( int startArg, int compArg )
#undef DEMO_EXT
#ifndef DEDICATED
void Field_AutoCompleteKeyName( int startArg, int compArg )
{
Key_KeyNameCompletion( FindMatches );
if ( Field_CompleteShortestMatch( startArg, compArg ) )
Key_KeyNameCompletion( PrintMatches );
}
#endif