mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix client profiler print interval
This commit is contained in:
parent
85002883bd
commit
eae2d35ca5
1 changed files with 1 additions and 1 deletions
|
@ -1177,7 +1177,7 @@ void the_game(
|
||||||
print_to_log = false;
|
print_to_log = false;
|
||||||
profiler_print_interval = 5;
|
profiler_print_interval = 5;
|
||||||
}
|
}
|
||||||
if(m_profiler_interval.step(0.030, profiler_print_interval))
|
if(m_profiler_interval.step(dtime, profiler_print_interval))
|
||||||
{
|
{
|
||||||
if(print_to_log){
|
if(print_to_log){
|
||||||
infostream<<"Profiler:"<<std::endl;
|
infostream<<"Profiler:"<<std::endl;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue