Skip to content
Snippets Groups Projects
Commit 5132908f authored by Loïc Blot's avatar Loïc Blot
Browse files

TOCLIENT_ACTIVE_OBJECT_MESSAGES: channel must be 1 for unreliable message

parent 3c6e112c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment