We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09782fc commit e73b9a3Copy full SHA for e73b9a3
addons/source-python/packages/source-python/players/voice.py
@@ -55,7 +55,7 @@ def _get_receivers(self, receivers):
55
56
# Check if "receivers" contains valid player indexes
57
if not all(map(lambda index: (isinstance(
58
- index, int) and 0 < index < global_vars.max_clients),
+ index, int) and 0 < index <= global_vars.max_clients),
59
receivers)):
60
raise ValueError(
61
'"receivers" doesn\'t contain valid player indexes.')
0 commit comments