Fix inventory flickering and missing InventoryTemplateUpdated event (#39379)
* fix flickering * move InitClothing * fix this
This commit is contained in:
@@ -194,8 +194,6 @@ public abstract partial class InventorySystem
|
||||
if (triggerHandContact && !((slotDefinition.SlotFlags & SlotFlags.GLOVES) == 0))
|
||||
TriggerHandContactInteraction(target);
|
||||
|
||||
Dirty(target, inventory);
|
||||
|
||||
_movementSpeed.RefreshMovementSpeedModifiers(target);
|
||||
|
||||
return true;
|
||||
@@ -487,8 +485,6 @@ public abstract partial class InventorySystem
|
||||
if (triggerHandContact && !((slotDefinition.SlotFlags & SlotFlags.GLOVES) == 0))
|
||||
TriggerHandContactInteraction(target);
|
||||
|
||||
Dirty(target, inventory);
|
||||
|
||||
_movementSpeed.RefreshMovementSpeedModifiers(target);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user