Commit 8f34895d authored by Thomas Kolb's avatar Thomas Kolb
Browse files

Debug-Print vor dem Bot-Init

parent e2349c2b
......@@ -89,10 +89,11 @@ std::shared_ptr<Bot> Field::newBot(std::unique_ptr<db::BotScript> data, std::str
heading
);
std::cerr << "Initializing Bot with ID " << bot->getGUID() << ", DB-ID " << bot->getDatabaseId() << ", Name: " << bot->getName() << std::endl;
initErrorMessage = "";
if (bot->init(initErrorMessage))
{
std::cerr << "Created Bot with ID " << bot->getGUID() << ", DB-ID " << bot->getDatabaseId() << ", Name: " << bot->getName() << std::endl;
m_updateTracker->botLogMessage(bot->getViewerKey(), "starting bot");
m_updateTracker->botSpawned(bot);
m_bots.insert(bot);
......
Supports Markdown
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