[MIRROR] Adds logging to door remote bolting [MDB IGNORE] (#26000)

* 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 <Thunder12345@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-01-04 21:42:50 -05:00
committed by GitHub
co-authored by Thunder12345
parent 4871216131
commit 61eaf4aef3
+2
View File
@@ -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!")