From 8fc1c9d31fb8e46d7364c4249c240ca77d21d044 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 30 May 2022 13:25:23 +0200 Subject: [PATCH] [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 --- code/modules/mapping/mapping_helpers.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mapping/mapping_helpers.dm b/code/modules/mapping/mapping_helpers.dm index 72c8c4c0d99..e2053966edc 100644 --- a/code/modules/mapping/mapping_helpers.dm +++ b/code/modules/mapping/mapping_helpers.dm @@ -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)