Make prototype loader ignore unix hidden files.

This commit is contained in:
Pieter-Jan Briers
2019-08-11 23:13:25 +02:00
parent 96543421f2
commit 175085f32e

View File

@@ -204,7 +204,7 @@ namespace Robust.Shared.Prototypes
{
foreach (var filePath in _resources.ContentFindFiles(path))
{
if (filePath.Extension != "yml")
if (filePath.Extension != "yml" || filePath.Filename.StartsWith('.'))
{
continue;
}