implemented real CIniFileSection::Insert function, and distinguished with Append .

This commit is contained in:
Zero Fanker 2024-06-17 00:44:31 -04:00
parent 78d3b083e1
commit 58b0de0907
3 changed files with 65 additions and 6 deletions

View file

@ -4216,7 +4216,7 @@ void CLoading::HackRules()
auto const pSec = rules.TryGetSection("BuildingTypes");
ASSERT(pSec != nullptr);
if (!pSec->HasValue(gateOne)) {
pSec->Insert(gateOne, gateOne);
pSec->Append(gateOne, gateOne);
}
}