1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

Fix client profiler print interval

This commit is contained in:
Perttu Ahola 2011-10-18 10:36:52 +03:00
parent 85002883bd
commit eae2d35ca5

View File

@ -1177,7 +1177,7 @@ void the_game(
print_to_log = false;
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){
infostream<<"Profiler:"<<std::endl;