Move array terminator for sign saving into if statement

This commit is contained in:
Simon Robertshaw 2012-07-06 16:08:52 +01:00
parent adc9cc0816
commit 1b1963932e

View File

@ -1622,8 +1622,8 @@ char * GameSave::serialiseOPS(int & dataLength)
bson_append_finish_object(&b);
}
}
}
bson_append_finish_array(&b);
}
bson_finish(&b);
bson_print(&b);