From aeb3008aa43f38fab57527ee58467f4dbfc2de8e Mon Sep 17 00:00:00 2001 From: Andrey Egoshin Date: Wed, 25 Dec 2024 16:51:31 +0300 Subject: [PATCH] fix jsout.end_array() missing in enchant_cache serialization --- src/magic_enchantment.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/magic_enchantment.cpp b/src/magic_enchantment.cpp index 69e5dc15d72d6..5720016843b53 100644 --- a/src/magic_enchantment.cpp +++ b/src/magic_enchantment.cpp @@ -747,6 +747,7 @@ void enchant_cache::serialize( JsonOut &jsout ) const jsout.member( "id", struc_desc.id ); jsout.end_object(); } + jsout.end_array(); jsout.end_object(); } jsout.end_array();