mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-20 23:07:51 +01:00
Let Material Path Resolver search through temporary collections.
This commit is contained in:
parent
311882948a
commit
95e7febd38
3 changed files with 17 additions and 15 deletions
|
|
@ -75,9 +75,9 @@ public partial class ModCollection
|
|||
=> new(name, CurrentVersion, new Dictionary< string, ModSettings.SavedSettings >());
|
||||
|
||||
// Create a new temporary collection that does not save and has a negative index.
|
||||
public static ModCollection CreateNewTemporary(string tag, string characterName)
|
||||
public static ModCollection CreateNewTemporary( string tag, string characterName )
|
||||
{
|
||||
var collection = new ModCollection($"{tag}_{characterName}_temporary", Empty);
|
||||
var collection = new ModCollection( $"{tag}_{characterName}", Empty );
|
||||
collection.ModSettingChanged -= collection.SaveOnChange;
|
||||
collection.InheritanceChanged -= collection.SaveOnChange;
|
||||
collection.Index = ~Penumbra.TempMods.Collections.Count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue