Skip to content

Commit

Permalink
Minor autoburst bug fix (#13559)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lumipharon authored Jul 25, 2023
1 parent 58a6e23 commit 3ac3242
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/projectiles/gun_system.dm
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@
ADD_TRAIT(src, TRAIT_GUN_BURST_FIRING, GUN_TRAIT)
return
REMOVE_TRAIT(src, TRAIT_GUN_BURST_FIRING, GUN_TRAIT)
shots_fired = 0 //autofire component won't reset this when autobursting otherwise

///Update the target if you draged your mouse
/obj/item/weapon/gun/proc/change_target(datum/source, atom/src_object, atom/over_object, turf/src_location, turf/over_location, src_control, over_control, params)
Expand Down

0 comments on commit 3ac3242

Please sign in to comment.