mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Fix issue where LoadEquipment is called on setting up the game object and thus unintendedly overwriting changes.
This commit is contained in:
parent
42d8709f08
commit
2de9268994
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ public class StateListener : IDisposable
|
|||
/// </summary>
|
||||
private void OnEquipmentLoading(Actor actor, EquipSlot slot, CharacterArmor armor)
|
||||
{
|
||||
if (armor != actor.GetArmor(slot))
|
||||
if (!actor.Model.Valid || armor != actor.GetArmor(slot))
|
||||
return;
|
||||
|
||||
if (!actor.Identifier(_actors.AwaitedService, out var identifier)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue