From 5d7af23399732d293f4e2b0f65c6b7fa893d66a9 Mon Sep 17 00:00:00 2001 From: clusterfack Date: Tue, 25 Oct 2016 00:26:51 -0500 Subject: [PATCH] Lets ghosts move diagonally (#12338) Huh, neat --- code/modules/mob/dead/observer/login.dm | 3 +++ code/modules/mob/login.dm | 3 +++ 2 files changed, 6 insertions(+) diff --git a/code/modules/mob/dead/observer/login.dm b/code/modules/mob/dead/observer/login.dm index aa2f9d78d83..f98d5cd5206 100644 --- a/code/modules/mob/dead/observer/login.dm +++ b/code/modules/mob/dead/observer/login.dm @@ -4,6 +4,9 @@ if(src.check_rights(R_ADMIN|R_FUN)) to_chat(src, "You are now an admin ghost. Think of yourself as an AI that doesn't show up anywhere and cannot speak. You can access any console or machine by standing next to it and clicking on it. Abuse of this privilege may result in hilarity or removal of your flags, so caution is recommended.") + if(client) + client.CAN_MOVE_DIAGONALLY = 1 + /mob/dead/observer/MouseDrop(atom/over) if(!usr || !over) return diff --git a/code/modules/mob/login.dm b/code/modules/mob/login.dm index 3680ce9ea52..444e5b38bd5 100644 --- a/code/modules/mob/login.dm +++ b/code/modules/mob/login.dm @@ -96,3 +96,6 @@ client.updating_colour = 0 bad_changing_colour_ckeys["[client.ckey]"] = 0 update_colour() + + if(client) + client.CAN_MOVE_DIAGONALLY = 0