1.2.3.b2
This commit is contained in:
parent
0e86f54e0a
commit
98f6e65b01
98 changed files with 3391 additions and 397 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue