mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 10:13:12 +02:00
avoid a crash if entityTree is null
This commit is contained in:
parent
f08864f17b
commit
eed388e7c9
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ void EntityEditPacketSender::queueEditEntityMessage(PacketType type,
|
|||
return;
|
||||
}
|
||||
|
||||
if (entityTree->isServerlessMode()) {
|
||||
if (entityTree && entityTree->isServerlessMode()) {
|
||||
// if we are in a serverless domain, don't send edit packets
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue