This commit is contained in:
Evil Factory
2021-02-11 16:16:55 -03:00
parent f412cf476e
commit f97d92edea
2 changed files with 61 additions and 3 deletions
@@ -23,7 +23,15 @@ namespace Barotrauma
{
foreach(var str in DirSearch(folder))
{
script.DoFile(str.Replace("\\", "/")); // i hate windows
var s = str.Replace("\\", "/");
if (s.EndsWith(".lua"))
{
Console.WriteLine(s);
script.DoFile(s); // i hate windows
}
}
}