diff --git a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Cs/ACsMod.cs b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Cs/ACsMod.cs index 8d7e352ec..5d141e5ba 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Cs/ACsMod.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Cs/ACsMod.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using System.Reflection; @@ -11,14 +11,14 @@ namespace Barotrauma public static List LoadedMods { get => mods; } private const string MOD_STORE = "LocalMods/.modstore"; - public static string GetSoreFolder() where T : ACsMod + public static string GetStoreFolder() where T : ACsMod { if (!Directory.Exists(MOD_STORE)) Directory.CreateDirectory(MOD_STORE); var modFolder = $"{MOD_STORE}/{typeof(T)}"; if (!Directory.Exists(modFolder)) Directory.CreateDirectory(modFolder); return modFolder; } - + public static string GetSoreFolder() where T : ACsMod => GetStoreFolder(); public bool IsDisposed { get; private set; } @@ -47,4 +47,4 @@ namespace Barotrauma /// Error or client exit public abstract void Stop(); } -} \ No newline at end of file +}