Fix grenade arming not being logged (#96065)

## About The Pull Request

Issue was twofold
- `log_game` was in an `else`, meaning it only got called if the log
didn't have a user, despite the comment making it clear it should be in
both cases
- `message_admins = dud_flags != NONE` meant that admins were only
messaged for grenades that are duds instead of the other way around
This commit is contained in:
Roxy
2026-05-13 17:57:26 -05:00
committed by GitHub
parent 95680ba64f
commit 8ab036fd1d
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -145,7 +145,7 @@
/obj/item/grenade/proc/log_grenade(mob/user)
if(!type_cluster)
log_bomber(user, "has primed a", src, "for detonation", message_admins = dud_flags != NONE)
log_bomber(user, "has primed a", src, "for detonation", message_admins = dud_flags == NONE)
/**
* arm_grenade (formerly preprime) refers to when a grenade with a standard time fuze is activated, making it go beepbeepbeep and then detonate a few seconds later.