mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
[MIRROR] Makes "forced" opening and closing of doors way more sane [MDB IGNORE] (#19706)
* Makes "forced" opening and closing of doors way more sane * Update airlock.dm --------- Co-authored-by: san7890 <the@san7890.com> Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
This commit is contained in:
co-authored by
san7890
Gandalf
parent
d2acbc97d7
commit
3af2663e7c
@@ -44,9 +44,9 @@
|
||||
if(airlock_target.locked)
|
||||
return
|
||||
attacker.visible_message(span_warning("We force the [airlock_target] to open."))
|
||||
airlock_target.open(2)
|
||||
airlock_target.open(BYPASS_DOOR_CHECKS)
|
||||
else if(!airlock_target.hasPower())
|
||||
attacker.visible_message(span_warning("We force the [airlock_target] to open."))
|
||||
airlock_target.open(1)
|
||||
airlock_target.open(FORCING_DOOR_CHECKS)
|
||||
else
|
||||
airlock_target.open(0)
|
||||
airlock_target.open(DEFAULT_DOOR_CHECKS)
|
||||
|
||||
Reference in New Issue
Block a user