mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 12:24:01 +02:00
don't send entity-edits to a server when in a serverless domain
This commit is contained in:
parent
d7b4eda5cd
commit
3ee979fc34
1 changed files with 5 additions and 0 deletions
|
@ -91,6 +91,11 @@ void EntityEditPacketSender::queueEditEntityMessage(PacketType type,
|
|||
return;
|
||||
}
|
||||
|
||||
if (entityTree->isServerlessMode()) {
|
||||
// if we are in a serverless domain, don't send edit packets
|
||||
return;
|
||||
}
|
||||
|
||||
QByteArray bufferOut(NLPacket::maxPayloadSize(type), 0);
|
||||
|
||||
if (type == PacketType::EntityAdd) {
|
||||
|
|
Loading…
Reference in a new issue