Fixed client console flooding with warnings on RGB color slider changes (#21333)
added reparent bool for this kinds of unequips Co-authored-by: Yurii Kis <yurii.kis@smartteksas.com>
This commit is contained in:
@@ -148,7 +148,8 @@ namespace Content.Client.Lobby.UI
|
||||
foreach (var slot in slots)
|
||||
{
|
||||
var itemType = gear.GetGear(slot.Name, profile);
|
||||
if (invSystem.TryUnequip(dummy, slot.Name, out var unequippedItem, true, true))
|
||||
|
||||
if (invSystem.TryUnequip(dummy, slot.Name, out var unequippedItem, silent: true, force: true, reparent: false))
|
||||
{
|
||||
entMan.DeleteEntity(unequippedItem.Value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user