From 1b1963932e6c6647bdc029d244dce27ff66e12cb Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Fri, 6 Jul 2012 16:08:52 +0100 Subject: [PATCH] Move array terminator for sign saving into if statement --- src/client/GameSave.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);