Browse Source

Fix Connection not sending delta update if only user variables have been modified

Perttu Ahola 11 years ago
parent
commit
75fef62758
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Engine/Network/Connection.cpp

+ 1 - 1
Source/Engine/Network/Connection.cpp

@@ -1143,7 +1143,7 @@ void Connection::ProcessExistingNode(Node* node, NodeReplicationState& nodeState
     }
     
     // Check if attributes have changed
-    if (nodeState.dirtyAttributes_.Count())
+    if (nodeState.dirtyAttributes_.Count() || nodeState.dirtyVars_.Size())
     {
         const Vector<AttributeInfo>* attributes = node->GetNetworkAttributes();
         unsigned numAttributes = attributes->Size();