Log executed debug commands with result
This commit is contained in:
parent
cc881a1c85
commit
d954a9751c
1 changed files with 1 additions and 0 deletions
|
|
@ -587,6 +587,7 @@ bool CheckDebugTextCommand(const std::string_view text)
|
|||
if (text.length() > (dbgCmd.text.length() + 1))
|
||||
parameter = text.substr(dbgCmd.text.length() + 1);
|
||||
const auto result = dbgCmd.actionProc(parameter);
|
||||
Log("DebugCmd: {} Result: {}", text, result);
|
||||
InitDiabloMsg(result);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue