Blackbox tally for successful emags (#84837)

## About The Pull Request

We don't actually record emags outside of the log which makes it hard to
parse, this should give us a better image of what people are using emags
for.
This commit is contained in:
MrMelbert
2024-07-10 15:30:55 -06:00
committed by GitHub
parent bd289b14cb
commit 4166e25c9c
+2 -1
View File
@@ -144,7 +144,8 @@
if(!can_emag(interacting_with, user))
return ITEM_INTERACT_BLOCKING
log_combat(user, interacting_with, "attempted to emag")
interacting_with.emag_act(user, src)
if(interacting_with.emag_act(user, src))
SSblackbox.record_feedback("tally", "atom_emagged", 1, interacting_with.type)
return ITEM_INTERACT_SUCCESS
/obj/item/card/emag/ranged_interact_with_atom(atom/interacting_with, mob/living/user, list/modifiers)