mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
Settings: Fix invalid memory access when setting not found in working mem
This commit is contained in:
parent
2c9bbe2736
commit
8066743a83
@ -254,7 +254,6 @@ bool Settings::updateConfigObject(std::istream &is, std::ostream &os,
|
||||
printEntry(os, name, it->second, tab_depth);
|
||||
was_modified = true;
|
||||
} else {
|
||||
assert(it->second.group == NULL);
|
||||
os << line << "\n";
|
||||
if (event == SPE_MULTILINE)
|
||||
os << value << "\n\"\"\"\n";
|
||||
|
Loading…
Reference in New Issue
Block a user