Fixed bug with invalid type in state files.

This commit is contained in:
Gunnar Beutner 2013-01-17 15:03:44 +01:00
parent ea115a2c8c
commit 747e3e7de8
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ void DynamicObject::DumpObjects(const String& filename)
Dictionary::Ptr persistentObject = boost::make_shared<Dictionary>();
persistentObject->Set("type", object->GetType());
persistentObject->Set("type", object->GetType()->GetName());
persistentObject->Set("name", object->GetName());
int types = Attribute_Local | Attribute_Replicated;