Add OF_Transient flag for objects that shouldn't be written to disk

This commit is contained in:
Marisa Heit 2016-10-15 20:57:56 -05:00
commit 58ec0e4594
2 changed files with 5 additions and 1 deletions

View file

@ -1451,7 +1451,7 @@ FSerializer &Serialize(FSerializer &arc, const char *key, DObject *&value, DObje
{
ndx = -1;
}
else if (value->ObjectFlags & OF_EuthanizeMe)
else if (value->ObjectFlags & (OF_EuthanizeMe | OF_Transient))
{
return arc;
}