mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-22 20:02:48 +00:00
Fix errors in SRB2 linedef edit form
This commit is contained in:
parent
778cf4be7c
commit
f0b42710a4
1 changed files with 2 additions and 2 deletions
|
@ -938,7 +938,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
List<MapElement> sides = new List<MapElement>(lines.Count);
|
||||
foreach(Linedef l in lines) if(l.Front != null) sides.Add(l.Front);
|
||||
|
||||
if(!CustomFieldsForm.ShowDialog(this, "Front side custom fields", "sidedef", sides, General.Map.Config.SidedefFields)) return;
|
||||
if(!CustomFieldsForm.ShowDialog(this, MakeUndo, "Front side custom fields", "sidedef", sides, General.Map.Config.SidedefFields)) return;
|
||||
|
||||
//Apply values
|
||||
Sidedef fs = General.GetByIndex(sides, 0) as Sidedef;
|
||||
|
@ -993,7 +993,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
foreach(Linedef l in lines) if(l.Back != null) sides.Add(l.Back);
|
||||
|
||||
// Edit these
|
||||
if(!CustomFieldsForm.ShowDialog(this, "Back side custom fields", "sidedef", sides, General.Map.Config.SidedefFields)) return;
|
||||
if(!CustomFieldsForm.ShowDialog(this, MakeUndo, "Back side custom fields", "sidedef", sides, General.Map.Config.SidedefFields)) return;
|
||||
|
||||
//Apply values
|
||||
Sidedef fs = General.GetByIndex(sides, 0) as Sidedef;
|
||||
|
|
Loading…
Reference in a new issue