Skip to content

Commit

Permalink
Update gun_helpers.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Git-Nivrak committed May 11, 2024
1 parent 8052193 commit 56fe4b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/projectiles/gun_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,8 @@ DEFINES in setup.dm, referenced here.
return FALSE

if(istype(slot) && (slot.storage_flags & STORAGE_ALLOW_QUICKDRAW))
for(var/obj/cycled_weapon in slot.return_inv())
if(cycled_weapon.flags_atom & QUICK_DRAWABLE)
for(var/obj/cycled_object in slot.return_inv())
if(cycled_object.flags_atom & QUICK_DRAWABLE)
return slot

if(slot.flags_atom & QUICK_DRAWABLE)
Expand Down

0 comments on commit 56fe4b0

Please sign in to comment.