diff --git a/code/game/objects/effects/overlays.dm b/code/game/objects/effects/overlays.dm index 6182101d9b4..12203edcc36 100644 --- a/code/game/objects/effects/overlays.dm +++ b/code/game/objects/effects/overlays.dm @@ -50,7 +50,7 @@ name = "adminoverlay" icon = 'icons/effects/effects.dmi' icon_state = "admin" - layer = 4.1 + layer = ABOVE_ALL_MOB_LAYER /obj/effect/overlay/vis mouse_opacity = MOUSE_OPACITY_TRANSPARENT diff --git a/code/modules/admin/verbs/freeze.dm b/code/modules/admin/verbs/freeze.dm index 494d0f575e8..e9d1f010407 100644 --- a/code/modules/admin/verbs/freeze.dm +++ b/code/modules/admin/verbs/freeze.dm @@ -19,7 +19,7 @@ GLOBAL_LIST_EMPTY(frozen_atom_list) // A list of admin-frozen atoms. /// Created here as a base proc. Override as needed for any type of object or mob you want able to be frozen. /atom/movable/proc/admin_Freeze(client/admin) - to_chat(admin, "Freeze is not able to be called on this type of object.Freeze is not able to be called on this type of object.") return ///mob freeze procs @@ -31,7 +31,7 @@ GLOBAL_LIST_EMPTY(frozen_atom_list) // A list of admin-frozen atoms. GLOB.frozen_atom_list += src var/obj/effect/overlay/adminoverlay/AO = new - if(skip_overlays) + if(!skip_overlays) overlays += AO anchored = TRUE @@ -42,7 +42,7 @@ GLOBAL_LIST_EMPTY(frozen_atom_list) // A list of admin-frozen atoms. else GLOB.frozen_atom_list -= src - if(skip_overlays) + if(!skip_overlays) overlays -= frozen anchored = FALSE