Skip to content

Commit fdcd3bb

Browse files
committed
fix create_keys_obj
1 parent b59c0ad commit fdcd3bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game_interpreter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5464,7 +5464,7 @@ bool Game_Interpreter::CommandEasyRpgProcessJson(lcf::rpg::EventCommand const& c
54645464
}
54655465
std::string json_str = "[" + keys_str + "]";
54665466
if (create_keys_obj) {
5467-
json_str = fmt::format(R"({ \"keys\": {} })", json_str);
5467+
json_str = "{ \"keys\": "+ json_str + " }";
54685468
}
54695469
set_var_value(target_var_type, target_var_id, json_str);
54705470
break;

0 commit comments

Comments
 (0)