Skip to content

Commit

Permalink
face target when firing
Browse files Browse the repository at this point in the history
  • Loading branch information
xDanilcusx committed Sep 12, 2024
1 parent 0f41636 commit 4ef8055
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@
addtimer(CALLBACK(primary_weapon, TYPE_PROC_REF(/obj/item/weapon/gun, start_fire), null, current_target, null, null, null, TRUE), primary_weapon.get_fire_delay())

target_floor = get_turf(current_target)
tied_human.face_atom(target_floor)

/datum/human_ai_brain/proc/end_gun_fire()
primary_weapon?.set_target(null)
Expand Down

0 comments on commit 4ef8055

Please sign in to comment.