public void CmdTaskStep(CustomPayload payload) { if (CurrentTask == null) { return; } if (CurrentTask.SetCooldownOnStep) { if (IsHunter) { CurrentTask.LastHunterOpened = (float)NetworkTime.time; } else { CurrentTask.LastVictimOpened = (float)NetworkTime.time; } } CurrentTask.OnTaskStep(this, payload.Data); }