mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Comments aren't standard
This commit is contained in:
@@ -30,6 +30,12 @@ namespace SabreTools.Helper
|
||||
{
|
||||
string line = filecontents[k];
|
||||
|
||||
// Comments in RV DATs start with a #
|
||||
if (line.StartsWith("#"))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// If the line is the header or a game
|
||||
if (Regex.IsMatch(line, _headerPattern))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user