mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 11:19:51 +02:00
Ensure an array terminator is only written if the signs array actually exists.
This commit is contained in:
@@ -802,8 +802,8 @@ void *build_save_OPS(int *size, int orig_x0, int orig_y0, int orig_w, int orig_h
|
||||
bson_append_finish_object(&b);
|
||||
}
|
||||
}
|
||||
bson_append_finish_array(&b);
|
||||
}
|
||||
bson_append_finish_array(&b);
|
||||
bson_finish(&b);
|
||||
bson_print(&b);
|
||||
|
||||
|
Reference in New Issue
Block a user