This commit is contained in:
ByDexter 2026-07-30 01:15:32 +03:00
parent 0e86f54e0a
commit 98f6e65b01
98 changed files with 3391 additions and 397 deletions

View file

@ -11,6 +11,16 @@ namespace src.player.skills
private const Skills skillName = Skills.BunnyHop;
private static readonly ConcurrentDictionary<uint, int> playersLastJump = [];
public static void NewRound()
{
playersLastJump.Clear();
}
public static void PlayerDisconnect(uint playerIndex)
{
playersLastJump.TryRemove(playerIndex, out _);
}
public static void LoadSkill()
{
SkillUtils.RegisterSkill(skillName, SkillsInfo.GetValue<string>(skillName, "color"));