aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp2
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);
}