Commit e71bb741 authored by mercury233's avatar mercury233

add support for empty dialog

parent 665f58a3
......@@ -161,7 +161,8 @@ namespace WindBot.Game.AI
private void InternalSendMessage(IList<string> array, params object[] opts)
{
string message = string.Format(array[Program.Rand.Next(array.Count)], opts);
_game.Chat(message);
if (message != "")
_game.Chat(message);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment