Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
Browse files Browse the repository at this point in the history
dageavtobusnick committed Jan 31, 2025
1 parent fc15079 commit 8732162
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion code/modules/admin/topic.dm
Original file line number Diff line number Diff line change
@@ -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)
1 change: 0 additions & 1 deletion code/modules/cargo/supplypod.dm
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8732162

Please sign in to comment.