Skip to content

Commit

Permalink
fix create_keys_obj
Browse files Browse the repository at this point in the history
  • Loading branch information
jetrotal committed Feb 23, 2025
1 parent b59c0ad commit fdcd3bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game_interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5464,7 +5464,7 @@ bool Game_Interpreter::CommandEasyRpgProcessJson(lcf::rpg::EventCommand const& c
}
std::string json_str = "[" + keys_str + "]";
if (create_keys_obj) {
json_str = fmt::format(R"({ \"keys\": {} })", json_str);
json_str = "{ \"keys\": "+ json_str + " }";
}
set_var_value(target_var_type, target_var_id, json_str);
break;
Expand Down

0 comments on commit fdcd3bb

Please sign in to comment.