From 9c7d8d5ba22debf0f05aa8577052ef1a3ed04529 Mon Sep 17 00:00:00 2001 From: Oblisk234 <61151679+Oblisk234@users.noreply.github.com> Date: Sat, 16 Nov 2024 14:42:07 +0000 Subject: [PATCH] Repositioned the two ifs --- code/modules/admin/topic.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 00a0028688fd..a059195bb712 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -802,8 +802,8 @@ var/atom/movable/AM = locate(href_list["admingetmovable"]) if(QDELETED(AM)) return - if(!check_rights(R_FUN)) - if(is_centcom_level(AM.z) && !is_centcom_level(usr.z)) + if(is_centcom_level(AM.z) && !is_centcom_level(usr.z)) + if(!check_rights(R_FUN)) to_chat(usr, "You cannot get things from the Centcom Z-Level", confidential=TRUE) return AM.forceMove(get_turf(usr))