mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-02-18 02:41:54 +00:00
Fixed pin not refreshed bug.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
using CounterStrikeSharp.API;
|
using CounterStrikeSharp.API;
|
||||||
using CounterStrikeSharp.API.Core;
|
using CounterStrikeSharp.API.Core;
|
||||||
using CounterStrikeSharp.API.Modules.Commands;
|
using CounterStrikeSharp.API.Modules.Commands;
|
||||||
@@ -40,8 +40,9 @@ namespace WeaponPaints
|
|||||||
GivePlayerGloves(player);
|
GivePlayerGloves(player);
|
||||||
GivePlayerAgent(player);
|
GivePlayerAgent(player);
|
||||||
GivePlayerMusicKit(player);
|
GivePlayerMusicKit(player);
|
||||||
GivePlayerPin(player);
|
|
||||||
RefreshWeapons(player);
|
RefreshWeapons(player);
|
||||||
|
AddTimer(0.1f, () => GivePlayerPin(player));
|
||||||
|
AddTimer(0.15f, () => GivePlayerPin(player));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(Localizer["wp_command_refresh_done"]))
|
if (!string.IsNullOrEmpty(Localizer["wp_command_refresh_done"]))
|
||||||
|
|||||||
Reference in New Issue
Block a user