From eed84b077903f3b0dbc56a5f9bd2f8156f416d7e Mon Sep 17 00:00:00 2001 From: Narr the Reg <5944268+german77@users.noreply.github.com> Date: Fri, 27 Mar 2026 10:28:03 -0600 Subject: [PATCH] database: IntArrayFields use signed values --- src/the_dude_to_human/database/dude_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/the_dude_to_human/database/dude_types.h b/src/the_dude_to_human/database/dude_types.h index 23a0b1e..dc9c400 100644 --- a/src/the_dude_to_human/database/dude_types.h +++ b/src/the_dude_to_human/database/dude_types.h @@ -150,12 +150,12 @@ struct TextField { struct IntArrayField { FieldInfo info{}; u16 entries{}; - std::vector data{}; + std::vector data{}; std::string SerializeJson() const { std::string array = ""; - for (u32 entry : data) { + for (s32 entry : data) { array += fmt::format("{},", entry); } if (!data.empty()) {