Don't spam log with room collector messages in release builds

This commit is contained in:
Lwmte 2023-05-31 08:51:29 +02:00
parent 0d8a27adb6
commit 31544858c4

View file

@ -183,7 +183,7 @@ namespace TEN::Renderer
if (m_rooms[to].Visited && count > MAX_SEARCH_DEPTH)
{
TENLog("Maximum room collection depth of " + std::to_string(MAX_SEARCH_DEPTH) +
" was reached with room " + std::to_string(to), LogLevel::Warning);
" was reached with room " + std::to_string(to), LogLevel::Warning, LogConfig::Debug);
return;
}