- removed bogus BeginObject call in deferred script serializer.

This commit is contained in:
Christoph Oelckers 2016-09-22 12:36:29 +02:00
parent d5b771afdd
commit f52e2a8cc4

View file

@ -1743,7 +1743,7 @@ void P_WriteACSDefereds (FSerializer &arc)
{
if (wi.deferred.Size() > 0)
{
if (wi.deferred.Size() > 0 && arc.BeginObject(nullptr))
if (wi.deferred.Size() > 0)
{
arc(wi.MapName, wi.deferred);
}