Skip to content

Commit

Permalink
M44 Heavy to_chat bug fix (#5169)
Browse files Browse the repository at this point in the history
# About the pull request
Fixes a weird bug where a "4" would get shown in the chat after you get
hit by m44 heavies

# Explain why it's good for the game

bugfix
# Testing Photographs and Procedure
# Changelog

:cl:
fix: M44 Heavy bullets no longer display a "4" when you get hit by them
/:cl:

Co-authored-by: InsaneRed <[email protected]>
  • Loading branch information
Red-byte3D and InsaneRed authored Dec 11, 2023
1 parent 25d70da commit c609db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/ammo/ammo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
if(target_mob.mob_size >= MOB_SIZE_BIG)
return //too big to push

to_chat(target_mob, isxeno(target_mob) ? SPAN_XENODANGER("You are pushed back by the sudden impact!") : SPAN_HIGHDANGER("You are pushed back by the sudden impact!"), null, 4, CHAT_TYPE_TAKING_HIT)
to_chat(target_mob, isxeno(target_mob) ? SPAN_XENODANGER("You are pushed back by the sudden impact!") : SPAN_HIGHDANGER("You are pushed back by the sudden impact!"))
slam_back(target_mob, fired_projectile, max_range)

/datum/ammo/proc/burst(atom/target, obj/projectile/P, damage_type = BRUTE, range = 1, damage_div = 2, show_message = SHOW_MESSAGE_VISIBLE) //damage_div says how much we divide damage
Expand Down

0 comments on commit c609db5

Please sign in to comment.