mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Fix reversion.
This commit is contained in:
parent
82536c75c9
commit
03043ba2c9
1 changed files with 9 additions and 1 deletions
|
|
@ -311,7 +311,8 @@ public sealed class StateManager(
|
|||
foreach (var flag in CustomizationExtensions.All)
|
||||
state.Sources[flag] = StateSource.Game;
|
||||
|
||||
state.ModelData = state.BaseData;
|
||||
state.ModelData.ModelId = state.BaseData.ModelId;
|
||||
state.ModelData.Customize = state.BaseData.Customize;
|
||||
var actors = ActorData.Invalid;
|
||||
if (source is not StateSource.Game)
|
||||
actors = Applier.ChangeCustomize(state, true);
|
||||
|
|
@ -335,6 +336,13 @@ public sealed class StateManager(
|
|||
}
|
||||
}
|
||||
|
||||
foreach (var slot in BonusExtensions.AllFlags)
|
||||
{
|
||||
state.Sources[slot] = StateSource.Game;
|
||||
if (source is not StateSource.Game)
|
||||
state.ModelData.SetBonusItem(slot, state.BaseData.BonusItem(slot));
|
||||
}
|
||||
|
||||
var actors = ActorData.Invalid;
|
||||
if (source is not StateSource.Game)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue