Skip to content

Commit

Permalink
Fixes the issue caused by previous commit. Files should open now
Browse files Browse the repository at this point in the history
  • Loading branch information
whisperity committed Oct 1, 2014
1 parent 9ef00a0 commit 3dae810
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions SharpGMad/Whitelist.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,6 @@ static class Whitelist
/// A list of string patterns of allowed files.
/// </summary>
private static string[] Wildcard = new string[]{
"lua/*.lua",
"scenes/*.vcd",
"particles/*.pcf",
"resource/fonts/*.ttf",
"scripts/vehicles/*.txt",
"resource/localization/*/*.properties",
"maps/*.bsp",
"maps/*.nav",
"maps/*.ain",
"maps/thumb/*.png",
"sound/*.wav",
"sound/*.mp3",
"sound/*.ogg",
"materials/*.vmt",
"materials/*.vtf",
"materials/*.png",
"materials/*.jpg",
"materials/*.jpeg",
"models/*.mdl",
"models/*.vtx",
"models/*.phy",
"models/*.ani",
"models/*.vvd",
"gamemodes/*/*.txt",
"gamemodes/*/*.fgd",
"gamemodes/*/logo.png",
Expand Down Expand Up @@ -85,6 +62,29 @@ static class Whitelist
"gamemodes/*/content/sound/*.wav",
"gamemodes/*/content/sound/*.mp3",
"gamemodes/*/content/sound/*.ogg",
"lua/*.lua",
"scenes/*.vcd",
"particles/*.pcf",
"resource/fonts/*.ttf",
"scripts/vehicles/*.txt",
"resource/localization/*/*.properties",
"maps/*.bsp",
"maps/*.nav",
"maps/*.ain",
"maps/thumb/*.png",
"sound/*.wav",
"sound/*.mp3",
"sound/*.ogg",
"materials/*.vmt",
"materials/*.vtf",
"materials/*.png",
"materials/*.jpg",
"materials/*.jpeg",
"models/*.mdl",
"models/*.vtx",
"models/*.phy",
"models/*.ani",
"models/*.vvd",
null
};

Expand Down

0 comments on commit 3dae810

Please sign in to comment.