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.
This commit is contained in:
Kyle Spier-Swenson
2017-02-27 20:06:50 -08:00
committed by KorPhaeron
parent 88785f7f86
commit a808e6f3b6
+6
View File
@@ -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"]]")