Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

align max players of automod to documentation #575

Merged
merged 1 commit into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions rcon/automods/seeding_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def punitions_to_apply(
drc = self.config.disallowed_roles
if (
server_player_count < drc.min_players
or server_player_count > drc.max_players
or server_player_count >= drc.max_players
):
self._disable_for_round("disallowed_roles")
else:
Expand All @@ -277,7 +277,7 @@ def punitions_to_apply(
dwc = self.config.disallowed_weapons
if (
server_player_count < dwc.min_players
or server_player_count > dwc.max_players
or server_player_count >= dwc.max_players
):
self._disable_for_round("disallowed_weapons")
else:
Expand All @@ -286,7 +286,7 @@ def punitions_to_apply(
ecf = self.config.enforce_cap_fight
if (
server_player_count < ecf.min_players
or server_player_count > ecf.max_players
or server_player_count >= ecf.max_players
):
self._disable_for_round("enforce_cap_fight")
else:
Expand Down