mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-04-30 09:01:41 -04:00
parent
be0ca9c1af
commit
c0e0f32c4a
1 changed files with 2 additions and 5 deletions
|
@ -359,11 +359,8 @@ void CTriggerEditorDlg::OnClone()
|
|||
|
||||
ini.SetString("Triggers", newId, SetParam(ini["Triggers"][newId], 2, GetParam(ini["Triggers"][newId], 2) + " Clone"));
|
||||
|
||||
{
|
||||
CString newTagId = GetFreeID();
|
||||
ini.SetString("Tags", newTagId, "0," + GetParam(ini["Triggers"][newId], 2) + ",");
|
||||
ini.SetString("Tags", newTagId, newId);
|
||||
}
|
||||
CString newTagId = GetFreeID();
|
||||
ini.SetString("Tags", newTagId, "0," + GetParam(ini["Triggers"][newId], 2) + "," + newId);
|
||||
|
||||
((CFinalSunDlg*)theApp.m_pMainWnd)->UpdateDialogs(TRUE);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue