mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-22 15:57:46 +01:00
Let SubMods know their location in a mod.
This commit is contained in:
parent
0b2b0d1beb
commit
d6c0362404
18 changed files with 223 additions and 121 deletions
|
|
@ -97,7 +97,7 @@ public partial class Mod
|
|||
.Select( f => ( Utf8GamePath.FromFile( f, optionFolder, out var gamePath, true ), gamePath, new FullPath( f ) ) )
|
||||
.Where( t => t.Item1 );
|
||||
|
||||
var mod = new SubMod
|
||||
var mod = new SubMod(null!) // Mod is irrelevant here, only used for saving.
|
||||
{
|
||||
Name = option.Name,
|
||||
};
|
||||
|
|
@ -112,7 +112,7 @@ public partial class Mod
|
|||
|
||||
// Create an empty sub mod for single groups with None options.
|
||||
internal static ISubMod CreateEmptySubMod( string name )
|
||||
=> new SubMod()
|
||||
=> new SubMod(null! ) // Mod is irrelevant here, only used for saving.
|
||||
{
|
||||
Name = name,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue