mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
implemented real CIniFileSection::Insert function, and distinguished with Append .
This commit is contained in:
parent
78d3b083e1
commit
58b0de0907
3 changed files with 65 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue