You can imagine that players's salaries are divided over 12weeks per season with a bonus for those helpind their team making it to the playoff where the staff members have their salaries divided over 14 weeks whatever happens.
That's probaby what happens in real life.
But if you want another justification: when there's no official games, players just train, they do this for themselves as much as for the team since it would give them a bigger salaries for the next season, they're not exactly "working".
But even if there's no official games, the doctor still takes care of the players, the trainer still trains the players and the PR manager still does his PR thing in order to prepare for next season. The three of them are still "working" for the team.