Skip to content

Commit

Permalink
Adds user to pump call to fix a bug (#28461)
Browse files Browse the repository at this point in the history
  • Loading branch information
Drsmail authored Feb 26, 2025
1 parent cecec5a commit 0ca8305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/projectiles/guns/projectile/shotgun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@

/obj/item/gun/projectile/shotgun/automatic/dual_tube/attack_self__legacy__attackchain(mob/living/user)
if(!chambered && length(magazine.contents))
pump()
pump(user)
else
toggle_tube(user)

Expand All @@ -376,6 +376,6 @@
/obj/item/gun/projectile/shotgun/automatic/dual_tube/AltClick(mob/living/user)
if(user.incapacitated() || !Adjacent(user) || !istype(user))
return
pump()
pump(user)

// DOUBLE BARRELED SHOTGUN, IMPROVISED SHOTGUN, and CANE SHOTGUN are in revolver.dm

0 comments on commit 0ca8305

Please sign in to comment.