mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
fixed the object update interval thingy
This commit is contained in:
parent
9d5ccafbb0
commit
bb39795ab2
3 changed files with 8 additions and 7 deletions
|
@ -380,6 +380,8 @@ void ServerEnvironment::deSerializePlayers(const std::string &savedir)
|
|||
void ServerEnvironment::step(float dtime)
|
||||
{
|
||||
DSTACK(__FUNCTION_NAME);
|
||||
|
||||
//TimeTaker timer("ServerEnv step");
|
||||
|
||||
// Get some settings
|
||||
//bool free_move = g_settings.getBool("free_move");
|
||||
|
@ -451,6 +453,8 @@ void ServerEnvironment::step(float dtime)
|
|||
|
||||
if(m_object_management_interval.step(dtime, 0.5))
|
||||
{
|
||||
//TimeTaker timer("ServerEnv object management");
|
||||
|
||||
/*
|
||||
Remove objects that satisfy (m_removed && m_known_by_count==0)
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue