mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Send ActiveObjects once right after Init2
This commit is contained in:
parent
9acd36bf99
commit
81c7f0ae04
6 changed files with 141 additions and 119 deletions
|
@ -463,6 +463,10 @@ void Client::handleCommand_ActiveObjectRemoveAdd(NetworkPacket* pkt)
|
|||
infostream << "handleCommand_ActiveObjectRemoveAdd: " << e.what()
|
||||
<< ". The packet is unreliable, ignoring" << std::endl;
|
||||
}
|
||||
|
||||
// m_activeobjects_received is false before the first
|
||||
// TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD packet is received
|
||||
m_activeobjects_received = true;
|
||||
}
|
||||
|
||||
void Client::handleCommand_ActiveObjectMessages(NetworkPacket* pkt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue