corrects a issue with the commands add history where the output was not set to the message string.

This commit is contained in:
Madpeter 2020-05-09 19:49:37 +01:00
parent e0998c6b90
commit 73d0f54319

View file

@ -46,9 +46,10 @@ namespace BSB.bottypes
{
CommandHistory.RemoveAt(0);
}
message = sb.ToString();
if (myconfig.CommandsToConsole == true)
{
ConsoleLog.Info(sb.ToString());
ConsoleLog.Info(message);
}
commandid++;
if (commandid >= myconfig.MaxCommandHistory)