mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-27 22:05:17 +01:00
Add questionable workaround for env lock contention
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user