Skip to content

Commit

Permalink
[MIRROR] Adds logging to door remote bolting (#318)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: NovaBot <[email protected]>
  • Loading branch information
3 people authored and FFMirrorBot committed Jan 5, 2024
1 parent 3904533 commit ddf04a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/objects/items/control_wand.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
Expand Down

0 comments on commit ddf04a7

Please sign in to comment.