1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Add questionable workaround for env lock contention

This commit is contained in:
sfan5 2024-09-15 23:06:03 +02:00
parent 5f308deb50
commit c1ea49940b
5 changed files with 65 additions and 5 deletions

View file

@ -35,7 +35,7 @@ u64 TimeTaker::stop(bool quiet)
if (m_result != nullptr) {
(*m_result) += dtime;
} else {
if (!quiet) {
if (!quiet && !m_name.empty()) {
infostream << m_name << " took "
<< dtime << TimePrecision_units[m_precision] << std::endl;
}