Skip to content

Commit

Permalink
TOCLIENT_ACTIVE_OBJECT_MESSAGES: channel must be 1 for unreliable mes…
Browse files Browse the repository at this point in the history
…sage
  • Loading branch information
nerzhul committed Apr 7, 2015
1 parent 3c6e112 commit 5132908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server.cpp
Expand Up @@ -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);

}
Expand Down

0 comments on commit 5132908

Please sign in to comment.