Allow Visplane Explorer to be enabled for SRB2 maps

This commit is contained in:
MascaraSnake 2016-01-20 21:00:59 +01:00
parent 443ba50581
commit c00a5ff6f8
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ namespace CodeImp.DoomBuilder.Plugins.VisplaneExplorer
public override void OnMapNewEnd() { OnMapOpenEnd(); }
public override void OnMapOpenEnd()
{
enabled = (General.Map.DOOM || General.Map.HEXEN);
enabled = (General.Map.DOOM || General.Map.HEXEN || General.Map.SRB2);
if(enabled)
{
// Load interface controls

View file

@ -25,7 +25,7 @@ namespace CodeImp.DoomBuilder.Plugins.VisplaneExplorer
ButtonGroup = "002_tools",
Volatile = true,
UseByDefault = true,
SupportedMapFormats = new[] { "DoomMapSetIO", "HexenMapSetIO" }, //mxd
SupportedMapFormats = new[] { "DoomMapSetIO", "HexenMapSetIO", "SRB2MapSetIO" }, //mxd
AllowCopyPaste = false)]
public class VisplaneExplorerMode : ClassicMode
{