mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed "no such cmd ''" on whole-line comments in cfg
This commit is contained in:
parent
c1ebda73e3
commit
d5b3804804
|
@ -247,6 +247,9 @@ void CConsole::ExecuteLineStroked(int Stroke, const char *pStr)
|
|||
if(ParseStart(&Result, pStr, (pEnd-pStr) + 1) != 0)
|
||||
return;
|
||||
|
||||
if (!*Result.m_pCommand)
|
||||
return;
|
||||
|
||||
CCommand *pCommand = FindCommand(Result.m_pCommand, m_FlagMask);
|
||||
|
||||
if(pCommand)
|
||||
|
|
Loading…
Reference in a new issue