limit how many errors can be sent per second (prevents message queue from overflowing and stopping all commands from working) and removed useless semicolons that i added for some reason here

This commit is contained in:
Evil Factory
2022-02-10 12:59:32 -03:00
parent 7a575e9b55
commit 62cda52342
2 changed files with 11 additions and 3 deletions
+3 -3
View File
@@ -62,7 +62,7 @@ if SERVER then
table.insert(modulePaths, (d .. "/Lua/?.lua"))
if File.DirectoryExists(d .. "/Lua/Autorun") then
runFolder(d .. "/Lua/Autorun");
runFolder(d .. "/Lua/Autorun")
end
end
@@ -73,7 +73,7 @@ if SERVER then
table.insert(modulePaths, (d .. "/Lua/?.lua"))
if File.DirectoryExists(d .. "/Lua/Autorun") then
runFolder(d .. "/Lua/Autorun");
runFolder(d .. "/Lua/Autorun")
end
end
end
@@ -85,7 +85,7 @@ for _, d in pairs(File.GetDirectories("Mods")) do
if File.DirectoryExists(d .. "/Lua/ForcedAutorun") then
table.insert(modulePaths, (d .. "/Lua/?.lua"))
runFolder(d .. "/Lua/ForcedAutorun");
runFolder(d .. "/Lua/ForcedAutorun")
end
end