Skip to content

Commit 4843050

Browse files
author
KirillMysnik
committed
Fix features failing to execute on the issuer when execution on equally prioritized players is disabled
1 parent 1030ec7 commit 4843050

File tree

1 file changed

+1
-1
lines changed
  • srcds/addons/source-python/plugins/admin/core

1 file changed

+1
-1
lines changed

srcds/addons/source-python/plugins/admin/core/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def filter(self, client, player):
7272
if not self.allow_execution_on_self and client.player == player:
7373
return False
7474

75-
if self.allow_execution_on_equal_priority:
75+
if self.allow_execution_on_equal_priority or client.player == player:
7676
return True
7777

7878
another_client = clients[player.index]

0 commit comments

Comments
 (0)