Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit c66312b

Browse files
authored
Repositioned the two ifs (#22809)
1 parent 926a021 commit c66312b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/modules/admin/topic.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,8 +802,8 @@
802802
var/atom/movable/AM = locate(href_list["admingetmovable"])
803803
if(QDELETED(AM))
804804
return
805-
if(!check_rights(R_FUN))
806-
if(is_centcom_level(AM.z) && !is_centcom_level(usr.z))
805+
if(is_centcom_level(AM.z) && !is_centcom_level(usr.z))
806+
if(!check_rights(R_FUN))
807807
to_chat(usr, "You cannot get things from the Centcom Z-Level", confidential=TRUE)
808808
return
809809
AM.forceMove(get_turf(usr))

0 commit comments

Comments
 (0)