Fixed a crash when creating a new sector with right-click in Make Sector mode

This commit is contained in:
codeimp 2009-03-01 20:47:23 +00:00
parent 38eeb5d1fa
commit d9011a47f4

View file

@ -412,7 +412,8 @@ namespace CodeImp.DoomBuilder.BuilderModes
{
// Make the sector
Sector s = MakeSector();
General.Map.Map.Update();
// Edit the sector
List<Sector> secs = new List<Sector>(); secs.Add(s);
if(General.Interface.ShowEditSectors(secs) == DialogResult.OK)