State file: Store attributes of type Attribute_Local.

This commit is contained in:
Gunnar Beutner 2012-08-13 10:27:49 +02:00
parent 7aed3f6b47
commit 0e8a5587a9
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ void DynamicObject::DumpObjects(const String& filename)
persistentObject->Set("type", object->GetType());
persistentObject->Set("name", object->GetName());
int types = Attribute_Replicated;
int types = Attribute_Local | Attribute_Replicated;
/* only persist properties for replicated objects or for objects
* that are marked as persistent */