mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
[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:
co-authored by
Thunder12345
parent
4871216131
commit
61eaf4aef3
@@ -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!")
|
||||
|
||||
Reference in New Issue
Block a user