Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def add_player_restrictions(self, player, *weapons):
as restricted for the player.
"""
# Get the player's current restrictions
current_restrictions = self.player_restrictions[player.userid]
current_restrictions = self.player_restrictions[player.userid].copy()

# Add the weapons to the player's restrictions
self.player_restrictions[player.userid].update([
Expand Down