From 0690f64467ea3cda8f5a983e5662ae50b4f7e1e7 Mon Sep 17 00:00:00 2001 From: ThaPwned Date: Wed, 1 Apr 2020 20:37:34 +0200 Subject: [PATCH] Update restrictions.py --- .../packages/source-python/weapons/restrictions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/source-python/packages/source-python/weapons/restrictions.py b/addons/source-python/packages/source-python/weapons/restrictions.py index bb1ba4995..fac063803 100644 --- a/addons/source-python/packages/source-python/weapons/restrictions.py +++ b/addons/source-python/packages/source-python/weapons/restrictions.py @@ -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([