mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
fixed issue when using +commands in the console
This commit is contained in:
parent
3d079a35e9
commit
442e6e1431
|
@ -273,7 +273,8 @@ CConsole::CCommand *CConsole::FindCommand(const char *pName)
|
||||||
|
|
||||||
void CConsole::ExecuteLine(const char *pStr)
|
void CConsole::ExecuteLine(const char *pStr)
|
||||||
{
|
{
|
||||||
CConsole::ExecuteLineStroked(1, pStr);
|
CConsole::ExecuteLineStroked(1, pStr); // press it
|
||||||
|
CConsole::ExecuteLineStroked(0, pStr); // then release it
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue