From 8f3ab34b50cba8976644a0e42eb544e8c2847fdb Mon Sep 17 00:00:00 2001 From: Evil Factory <36804725+evilfactory@users.noreply.github.com> Date: Fri, 11 Feb 2022 18:19:06 -0300 Subject: [PATCH] remove semi colons from LuaSetup.lua --- Barotrauma/BarotraumaShared/Lua/LuaSetup.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Barotrauma/BarotraumaShared/Lua/LuaSetup.lua b/Barotrauma/BarotraumaShared/Lua/LuaSetup.lua index c84576746..194ecbb30 100644 --- a/Barotrauma/BarotraumaShared/Lua/LuaSetup.lua +++ b/Barotrauma/BarotraumaShared/Lua/LuaSetup.lua @@ -44,8 +44,8 @@ local function runFolder(folder) local s = str:gsub("\\", "/") if endsWith(str, ".lua") then - print(s); - dofile(s); + print(s) + dofile(s) end end @@ -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