Skip to content

Commit

Permalink
Update gun.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Gristlebee committed Sep 8, 2024
1 parent 7865f8a commit b881313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/projectiles/gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,8 @@
. = ..()
if(!has_safety)
return

if(src != user.get_active_held_item())
// only checks for first level storage e.g pockets, hands, suit storage, belts, nothing in containers
if(!in_contents_of(user))
return

if(isliving(user) && in_range(src, user))
Expand Down

0 comments on commit b881313

Please sign in to comment.