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
This commit is contained in:
Thunder12345
2024-01-05 00:55:42 +00:00
committed by GitHub
parent 239519179f
commit 47ec445211
+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!")