Browse Source

Log executed debug commands with result

pull/2746/head
obligaron 5 years ago committed by Anders Jenbo
parent
commit
d954a9751c
  1. 1
      Source/debug.cpp

1
Source/debug.cpp

@ -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…
Cancel
Save