[MIRROR] fixes airlock ai cut wires runtiming [MDB IGNORE] (#13983)

* fixes airlock ai cut wires runtiming

* Fixes the conflict (without breaking anything, hopefully)

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
This commit is contained in:
SkyratBot
2022-05-30 12:25:23 +01:00
committed by GitHub
co-authored by Fikou GoldenAlpharex
parent bdce5cd135
commit 8fc1c9d31f
+3 -3
View File
@@ -146,10 +146,10 @@
airlock.welded = TRUE
if(24 to 30)
airlock.panel_open = TRUE
if(airlock.cutAiWire && wires) // SKYRAT EDIT
wires?.cut(WIRE_AI) // SKYRAT EDIT
if(airlock.cutAiWire)
airlock.wires.cut(WIRE_AI)
if(airlock.autoname)
name = get_area_name(src, TRUE)
airlock.name = get_area_name(src, TRUE)
update_appearance()
qdel(src)