diff options
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index cb62f7e86..6597ee64f 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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); } |