Skip to content

Commit

Permalink
Fix function call
Browse files Browse the repository at this point in the history
  • Loading branch information
skizzerz committed Nov 8, 2023
1 parent 3928af4 commit c68199c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamemodes/pactbreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def visit(self, wrapper: MessageDispatcher, message: str):
# These fakes all use the bot account to ensure they are selectable even when someone has the same nick.
scope = get_players(var)
scope.extend(FakeUser(None, als, loc, loc, users.Bot.account) for loc, x in aliases.items() for als in x)
target_player = get_target(var, prefix, allow_self=True, scope=scope)
target_player = get_target(wrapper, prefix, allow_self=True, scope=scope)
if not target_player:
return

Expand Down

0 comments on commit c68199c

Please sign in to comment.