Forgot to actually make the variable do something.
This commit is contained in:
parent
7cad137f39
commit
3a961fffbb
@ -153,7 +153,7 @@ public class Shell
|
|||||||
|
|
||||||
if (ActiveMod is not null) Write($"{ActiveMod} ", ConsoleColor.Magenta, false);
|
if (ActiveMod is not null) Write($"{ActiveMod} ", ConsoleColor.Magenta, false);
|
||||||
|
|
||||||
if (ActiveMod is not null)
|
if (ActiveMod is not null && Config.LoadedConfig.UseLocalModDirectories)
|
||||||
{
|
{
|
||||||
string directory = Path.GetRelativePath(ActiveMod.RootDirectory, WorkingDirectory);
|
string directory = Path.GetRelativePath(ActiveMod.RootDirectory, WorkingDirectory);
|
||||||
if (directory == ".") directory = string.Empty;
|
if (directory == ".") directory = string.Empty;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user