mirror of
https://github.com/minetest/minetest.git
synced 2024-11-09 17:23:45 +01:00
TOCLIENT_ACTIVE_OBJECT_MESSAGES: channel must be 1 for unreliable message
This commit is contained in:
parent
3c6e112c28
commit
5132908f4b
@ -1911,7 +1911,7 @@ void Server::SendActiveObjectMessages(u16 peer_id, const std::string &datas, boo
|
||||
pkt.putRawString(datas.c_str(), datas.size());
|
||||
|
||||
m_clients.send(pkt.getPeerId(),
|
||||
clientCommandFactoryTable[pkt.getCommand()].channel,
|
||||
reliable ? clientCommandFactoryTable[pkt.getCommand()].channel : 1,
|
||||
&pkt, reliable);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user