From 8732162776f22fa4029c051e362234c3bb4cc578 Mon Sep 17 00:00:00 2001 From: dageavtobusnick <71216640+dageavtobusnick@users.noreply.github.com> Date: Sat, 1 Feb 2025 00:42:00 +0500 Subject: [PATCH] fix --- code/modules/admin/topic.dm | 3 ++- code/modules/cargo/supplypod.dm | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 23ceef4b70e..33bff42eb21 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -3189,7 +3189,8 @@ if(A == ACCESS_SECURITY) security = TRUE var/turf/prison_cell = pick((security? GLOB.prisonsecuritywarp : GLOB.prisonwarp)) - if(!prison_cell) continue + if(!prison_cell) + continue var/obj/structure/closet/supplypod/centcompod/prison_warp/pod = new() pod.reverse_dropoff_coords = list(prison_cell.x, prison_cell.y, prison_cell.z) diff --git a/code/modules/cargo/supplypod.dm b/code/modules/cargo/supplypod.dm index 482c9553031..21e167c1e7c 100644 --- a/code/modules/cargo/supplypod.dm +++ b/code/modules/cargo/supplypod.dm @@ -149,7 +149,6 @@ to_chat(target, span_warning("Вас перевели на тюремную станцию!")) return ..() GLOB.prisonwarped += target - var/turf/return_turf = locate(reverse_dropoff_coords[1], reverse_dropoff_coords[2], reverse_dropoff_coords[3]) var/obj/structure/closet/secure_closet/brig/locker = new /obj/structure/closet/secure_closet/brig(holder) locker.opened = 0 locker.locked = 1