mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
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:
@@ -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