Showing the changes to assignment-client/src/scripts/EntityScriptServer.cpp (1 of 1 file). Show all
Unified · Split
| @@ -63,6 +63,8 @@ EntityScriptServer::EntityScriptServer(ReceivedMessage& message) : ThreadedAssig · 62 unmodified lines | ||
| 63 | 63 | static const QString ENTITY_SCRIPT_SERVER_LOGGING_NAME = "entity-script-server"; |
| 64 | 64 | |
| 65 | 65 | void EntityScriptServer::handleReloadEntityServerScriptPacket(QSharedPointer<ReceivedMessage> message, SharedNodePointer senderNode) { |
| 66 | + // These are temporary checks until we can ensure that nodes eventually disconnect if the Domain Server stops telling them | |
| 67 | + // about each other. | |
| 66 | 68 | if (senderNode->getCanRez() || senderNode->getCanRezTmp()) { |
| 67 | 69 | auto entityID = QUuid::fromRfc4122(message->read(NUM_BYTES_RFC4122_UUID)); |
| 68 | 70 | |
| @@ -75,6 +77,8 @@ void EntityScriptServer::handleReloadEntityServerScriptPacket(QSharedPointer<Rec · 6 unmodified lines | ||
| 75 | 77 | } |
| 76 | 78 | |
| 77 | 79 | void EntityScriptServer::handleEntityScriptGetStatusPacket(QSharedPointer<ReceivedMessage> message, SharedNodePointer senderNode) { |
| 80 | + // These are temporary checks until we can ensure that nodes eventually disconnect if the Domain Server stops telling them | |
| 81 | + // about each other. | |
| 78 | 82 | if (senderNode->getCanRez() || senderNode->getCanRezTmp()) { |
| 79 | 83 | MessageID messageID; |
| 80 | 84 | message->readPrimitive(&messageID); |