Lets ghosts move diagonally (#12338)

Huh, neat
This commit is contained in:
clusterfack
2016-10-25 00:26:51 -05:00
committed by GitHub
parent a6ff62382d
commit 5d7af23399
2 changed files with 6 additions and 0 deletions

View File

@@ -4,6 +4,9 @@
if(src.check_rights(R_ADMIN|R_FUN)) if(src.check_rights(R_ADMIN|R_FUN))
to_chat(src, "<span class='warning'>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.</span>") to_chat(src, "<span class='warning'>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.</span>")
if(client)
client.CAN_MOVE_DIAGONALLY = 1
/mob/dead/observer/MouseDrop(atom/over) /mob/dead/observer/MouseDrop(atom/over)
if(!usr || !over) if(!usr || !over)
return return

View File

@@ -96,3 +96,6 @@
client.updating_colour = 0 client.updating_colour = 0
bad_changing_colour_ckeys["[client.ckey]"] = 0 bad_changing_colour_ckeys["[client.ckey]"] = 0
update_colour() update_colour()
if(client)
client.CAN_MOVE_DIAGONALLY = 0