Cyborg console HREF exploit

This commit is contained in:
monster860
2016-05-23 17:00:34 -04:00
parent 70af06de0c
commit 06783d1063

View File

@@ -71,7 +71,7 @@
to_chat(user, "<span class='warning'>Access Denied. This robot is not linked to you.</span>")
return
// Cyborgs may blow up themselves via the console
if(isrobot(user) && user != target)
if((isrobot(user) && user != target) || !is_authenticated(user))
to_chat(user, "<span class='warning'>Access Denied.</span>")
return
var/choice = input("Really detonate [target.name]?") in list ("Yes", "No")