From a808e6f3b691a57aeb3c7ab9461abdcd52279f55 Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Mon, 27 Feb 2017 20:06:50 -0800 Subject: [PATCH] Closes up a exploit (#24543) This was mostly harmless as it requires breaking out of control freak, but breaking out of control freak isn't hard for low security level verbs like this. I won't go into details but I was able to break out of control freak enough to run this command using a simple text editor. --- code/modules/mob/mob.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index be7b382a87f..8913df8445f 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -464,6 +464,12 @@ var/next_mob_id = 0 reset_perspective(null) unset_machine() +//suppress the .click macro so people can't use it to identify the location of items or aimbot +/mob/verb/ClickSubstitute() + set hidden = 1 + set name = ".click" + return + /mob/Topic(href, href_list) if(href_list["mach_close"]) var/t1 = text("window=[href_list["mach_close"]]")