From ddf04a77d1041cbcb70a57adb65c72ca4c359457 Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Thu, 4 Jan 2024 20:20:59 -0500 Subject: [PATCH] [MIRROR] Adds logging to door remote bolting (#318) * Adds logging to door remote bolting (#80723) ## About The Pull Request Adds log entries when a player bolts or unbolts a door using a remote. ## Why It's Good For The Game Letting people mess with door bolts completely unlogged is potentially inconvenient. ## Changelog Not player facing * Adds logging to door remote bolting --------- Co-authored-by: Thunder12345 Co-authored-by: NovaBot --- code/game/objects/items/control_wand.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/items/control_wand.dm b/code/game/objects/items/control_wand.dm index 3128229df44..1fef4a38438 100644 --- a/code/game/objects/items/control_wand.dm +++ b/code/game/objects/items/control_wand.dm @@ -73,8 +73,10 @@ if (airlock.locked) airlock.unbolt() + log_combat(user, airlock, "unbolted", src) else airlock.bolt() + log_combat(user, airlock, "bolted", src) if (WAND_EMERGENCY) if (!istype(airlock)) target.balloon_alert(user, "only airlocks!")