mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 06:41:49 +00:00
On second thought, let's only delete BLOCKMAP and REJECT before nodebuilding.
This commit is contained in:
parent
f4b747a9d9
commit
a1850cd82c
1 changed files with 2 additions and 2 deletions
|
@ -1368,8 +1368,8 @@ namespace CodeImp.DoomBuilder
|
|||
//so it will just stay there, possibly messing things up)
|
||||
if(group.Value.NodeBuild && (!glnodesonly || group.Key.ToUpperInvariant().StartsWith("GL_"))) continue;
|
||||
|
||||
//Skip lumps that aren't required.
|
||||
if (!group.Value.Required) continue;
|
||||
//SRB2: Skip BLOCKMAP and REJECT to prevent outdated data from persisting.
|
||||
if (General.Map.SRB2 && (group.Key.ToUpperInvariant() == "BLOCKMAP" || group.Key.ToUpperInvariant() == "REJECT")) continue;
|
||||
|
||||
string lumpname = group.Key;
|
||||
if(lumpname == CONFIG_MAP_HEADER) lumpname = mapname;
|
||||
|
|
Loading…
Reference in a new issue