mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Fix wrong Collection Unused Banner for individual assignments.
This commit is contained in:
parent
cd94c73d93
commit
648286a923
2 changed files with 2 additions and 3 deletions
|
|
@ -10,7 +10,6 @@ using Penumbra.GameData.Actors;
|
||||||
using Penumbra.GameData.Enums;
|
using Penumbra.GameData.Enums;
|
||||||
using Penumbra.Services;
|
using Penumbra.Services;
|
||||||
using Penumbra.UI;
|
using Penumbra.UI;
|
||||||
using Penumbra.Util;
|
|
||||||
|
|
||||||
namespace Penumbra.Collections.Manager;
|
namespace Penumbra.Collections.Manager;
|
||||||
|
|
||||||
|
|
@ -276,7 +275,7 @@ public class ActiveCollections : ISavable, IDisposable
|
||||||
jObj.WriteTo(j);
|
jObj.WriteTo(j);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void UpdateCurrentCollectionInUse()
|
public void UpdateCurrentCollectionInUse()
|
||||||
=> CurrentCollectionInUse = SpecialCollections
|
=> CurrentCollectionInUse = SpecialCollections
|
||||||
.OfType<ModCollection>()
|
.OfType<ModCollection>()
|
||||||
.Prepend(Interface)
|
.Prepend(Interface)
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ using Newtonsoft.Json.Linq;
|
||||||
using Penumbra.GameData.Actors;
|
using Penumbra.GameData.Actors;
|
||||||
using Penumbra.Services;
|
using Penumbra.Services;
|
||||||
using Penumbra.String;
|
using Penumbra.String;
|
||||||
using Penumbra.Util;
|
|
||||||
|
|
||||||
namespace Penumbra.Collections.Manager;
|
namespace Penumbra.Collections.Manager;
|
||||||
|
|
||||||
|
|
@ -35,6 +34,7 @@ public partial class IndividualCollections
|
||||||
{
|
{
|
||||||
if (ReadJObjectInternal(obj, storage))
|
if (ReadJObjectInternal(obj, storage))
|
||||||
saver.ImmediateSave(parent);
|
saver.ImmediateSave(parent);
|
||||||
|
parent.UpdateCurrentCollectionInUse();
|
||||||
_actorService.FinishedCreation -= Func;
|
_actorService.FinishedCreation -= Func;
|
||||||
}
|
}
|
||||||
_actorService.FinishedCreation += Func;
|
_actorService.FinishedCreation += Func;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue