mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
Fix: infantry duplication data issue .
This commit is contained in:
parent
718423eef0
commit
473eef415d
4 changed files with 80 additions and 68 deletions
|
@ -2277,7 +2277,9 @@ void CUserScriptsDlg::OnOK()
|
|||
if (index >= 0 && index < Map->GetInfantryCount()) {
|
||||
INFANTRY id;
|
||||
Map->GetInfantryData(index, &id);
|
||||
if (id.deleted == 0) deleted = "0";
|
||||
if (id.deleted == 0) {
|
||||
deleted = "0";
|
||||
}
|
||||
}
|
||||
|
||||
variables[params[0]] = deleted;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue