Fix erroneous admin messages for people messing with the AAC when not a ghost.

This commit is contained in:
D3athrow
2015-04-12 14:45:05 -05:00
parent 977f858548
commit b80390701e

View File

@@ -121,6 +121,8 @@ var/global/automation_types=typesof(/datum/automation) - /datum/automation
if(!norange)
if ((!in_range(parent, usr) || !istype(parent.loc, /turf)) && !istype(usr, /mob/living/silicon))
return 1
else if(!parent.custom_aghost_alerts)
log_adminghost("[key_name(usr)] screwed with [parent] ([href])!")
if(href_list["add"])
var/new_child=selectValidChildFor(usr)
if(!new_child) return 1
@@ -153,8 +155,6 @@ var/global/automation_types=typesof(/datum/automation) - /datum/automation
A.OnReset()
parent.updateUsrDialog()
return 1
else if(!parent.custom_aghost_alerts)
log_adminghost("[key_name(usr)] screwed with [parent] ([href])!")
parent.add_fingerprint(usr)