diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-10-29 17:51:13 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-10-29 17:51:13 -0400 |
| commit | 79c1c484eab6fbf36a69d155a324540887e38880 (patch) | |
| tree | 87f4e64fcc4331ab304e65a531c28b9802e69784 /entities/weapons | |
| parent | 78e40d9fd55b6ba23db4f459e2c7e9ae2109cf5a (diff) | |
| download | artery-79c1c484eab6fbf36a69d155a324540887e38880.tar.gz artery-79c1c484eab6fbf36a69d155a324540887e38880.tar.bz2 artery-79c1c484eab6fbf36a69d155a324540887e38880.zip | |
Got shops working
Diffstat (limited to 'entities/weapons')
| -rw-r--r-- | entities/weapons/hands.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/entities/weapons/hands.lua b/entities/weapons/hands.lua index e0b1ae6..d55c416 100644 --- a/entities/weapons/hands.lua +++ b/entities/weapons/hands.lua @@ -39,6 +39,7 @@ end local Box = Vector(8,8,8) function SWEP:PrimaryAttack() + if not self.Owner.Inventory then return end local rightitem = self.Owner.Inventory.Equiped["Left"] if rightitem ~= false and rightitem.onClick ~= nil then rightitem:onClick(self.Owner) |
