- Probably not needed `SkinsVisibilityFix` anymore
This commit is contained in:
Dawid Bepierszcz
2024-01-20 18:04:50 +01:00
parent d04bc0879a
commit 620b067991
5 changed files with 24 additions and 7 deletions

View File

@@ -95,8 +95,10 @@ namespace WeaponPaints
if (player == null || !player.IsValid) return HookResult.Continue;
/*
if (Config.Additional.SkinVisibilityFix)
AddTimer(0.2f, () => RefreshSkins(player));
*/
return HookResult.Continue;
}
@@ -243,13 +245,16 @@ namespace WeaponPaints
if (Config.Additional.KnifeEnabled && !PlayerHasKnife(player))
{
g_knifePickupCount[(int)player.Index] = 0;
AddTimer(0.1f, () => GiveKnifeToPlayer(player));
GiveKnifeToPlayer(player);
//AddTimer(0.1f, () => GiveKnifeToPlayer(player));
}
/*
if (Config.Additional.SkinVisibilityFix)
{
AddTimer(0.3f, () => RefreshSkins(player));
}
*/
return HookResult.Continue;
}