Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Bierkraan committed Jan 30, 2024
1 parent 9361ee4 commit ba4c2ed
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions code/_onclick/click.dm
Original file line number Diff line number Diff line change
Expand Up @@ -549,10 +549,9 @@
if (!object.IsAutoclickable())
return
if (using_object)
if (istype(using_object, /obj/item/weapon/gun/projectile/automatic/stationary))
var/obj/item/weapon/gun/projectile/automatic/stationary/HMG = using_object
if (HMG.used_by_mob == src)
return HMG.CanItemAutoclick(object, location, params)
var/obj/item/weapon/gun/projectile/automatic/stationary/HMG = using_object
if (HMG.used_by_mob == src)
return HMG.CanItemAutoclick(object, location, params)
else
var/obj/item/H = get_active_hand()
if (H)
Expand Down

0 comments on commit ba4c2ed

Please sign in to comment.