Skip to content

Commit 60d49ac

Browse files
committed
PathManager: Added default argument
1 parent 9e49f5e commit 60d49ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Statics/PathManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public static string GetPath(string fileName)
177177
/// <typeparam name="T">The type to get the assembly from, which is used to get the name.</typeparam>
178178
/// <param name="_">Any data from the assembly, which is used to get the name.</param>
179179
/// <returns>The path to the mod.</returns>
180-
public static string GetPath<T>(T _) => GetPath(FileFormat.Form(NameOfAssembly<T>(), FileExtensionWindows));
180+
public static string GetPath<T>(T _ = default) => GetPath(FileFormat.Form(NameOfAssembly<T>(), FileExtensionWindows));
181181

182182
/// <summary>
183183
/// Loads a library by searching for the bundle. Do not run this on the Editor.

0 commit comments

Comments
 (0)