diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index a7b9fbf98..7f8aa4fc3 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -1622,8 +1622,8 @@ char * GameSave::serialiseOPS(int & dataLength) bson_append_finish_object(&b); } } + bson_append_finish_array(&b); } - bson_append_finish_array(&b); bson_finish(&b); bson_print(&b);