mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
Fixed a crash that happened when a thing isn't inside a sector. Fixes #548
This commit is contained in:
parent
da935dd8d7
commit
f1bf6a6803
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ namespace CodeImp.DoomBuilder.Map
|
|||
{
|
||||
sector = null;
|
||||
}
|
||||
if (sectors.Count == 1)
|
||||
else if (sectors.Count == 1)
|
||||
{
|
||||
sector = sectors[0];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue