Skip to content

Commit

Permalink
Fix issue with JSON parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
royfalk committed Oct 13, 2024
1 parent 5a78db8 commit e61c676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/src/python/config/graphics_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Graphics2Config::Graphics2Config(const std::string config) {
}

const std::string graphics_json = json_root.get("graphics");
json::jobject json_graphics = json::jobject::parse(config);
json::jobject json_graphics = json::jobject::parse(graphics_json);

screen = GetValue("screen", 0, json_graphics);
resolution_x = GetValue("resolution_x", 2560, json_graphics);
Expand Down

0 comments on commit e61c676

Please sign in to comment.