This commit is contained in:
AI-Pranto 2021-03-03 00:42:39 +06:00
parent 903ed39e33
commit 8c289fc5bd
6 changed files with 10 additions and 10 deletions

View file

@ -655,8 +655,8 @@ void read_settings_xml()
}
// Get maximum number of particles to be banked per surface
if (check_for_node(node_ssw, "max_surface_particles")) {
max_surface_particles = std::stoll(get_node_value(node_ssw, "max_surface_particles"));
if (check_for_node(node_ssw, "max_particles")) {
max_surface_particles = std::stoll(get_node_value(node_ssw, "max_particles"));
}
}