Don't show info if no script loaded

This commit is contained in:
Sardelka
2022-07-09 09:59:17 +08:00
parent 1111879c4d
commit 17ef088492

View File

@ -152,8 +152,10 @@ namespace RageCoop.Server.Scripting
}
return false;
}
Logger?.Info($"Loaded {count} script(s) in {rfile.Name}");
if(count != 0)
{
Logger?.Info($"Loaded {count} script(s) in {rfile.Name}");
}
return count != 0;
}