mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-04-30 17:11:40 -04:00
ini handling bugfix .
This commit is contained in:
parent
cd8223bb2a
commit
94b901bfed
1 changed files with 1 additions and 2 deletions
|
@ -135,8 +135,7 @@ public:
|
|||
auto const it = value_pos.find(key);
|
||||
// new, never had one
|
||||
if (it == value_pos.end()) {
|
||||
this->value_pairs.push_back({ key, std::move(value) });
|
||||
value_pos[key] = value_pairs.size();
|
||||
this->Insert(key, std::move(value));
|
||||
return;
|
||||
}
|
||||
value_pairs[it->second].second = std::move(value);
|
||||
|
|
Loading…
Add table
Reference in a new issue