mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user