[Styling] Minor code styling changes
This commit is contained in:
parent
507fb517c9
commit
7c4c25837b
@ -1336,10 +1336,12 @@ void ChatHandler::ExecuteCommand(const char* text)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ChatCommand* showCommand = (strlen(command->Name) == 0 && parentCommand ? parentCommand : command))
|
if (ChatCommand* showCommand = (strlen(command->Name) == 0 && parentCommand ? parentCommand : command))
|
||||||
|
{
|
||||||
if (ChatCommand* childs = showCommand->ChildCommands)
|
if (ChatCommand* childs = showCommand->ChildCommands)
|
||||||
{
|
{
|
||||||
ShowHelpForSubCommands(childs, showCommand->Name);
|
ShowHelpForSubCommands(childs, showCommand->Name);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
SetSentErrorMessage(true);
|
SetSentErrorMessage(true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user