mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-03-12 17:16:29 +00:00
fix gloves overlapping when change team
This commit is contained in:
@@ -357,9 +357,14 @@ namespace WeaponPaints
|
|||||||
pawn.SetModel(model);
|
pawn.SetModel(model);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CEconItemView item = pawn.EconGloves;
|
||||||
|
|
||||||
|
item.NetworkedDynamicAttributes.Attributes.RemoveAll();
|
||||||
|
item.AttributeList.Attributes.RemoveAll();
|
||||||
|
|
||||||
|
|
||||||
Instance.AddTimer(0.08f, () =>
|
Instance.AddTimer(0.08f, () =>
|
||||||
{
|
{
|
||||||
CEconItemView item = pawn.EconGloves;
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (!player.IsValid)
|
if (!player.IsValid)
|
||||||
|
|||||||
Reference in New Issue
Block a user