Merge pull request #11044 from Kelenius/beepskyFixes

Makes beepsky less brutal
This commit is contained in:
PsiOmegaDelta
2015-09-08 10:41:30 +02:00
2 changed files with 7 additions and 0 deletions

View File

@@ -183,6 +183,7 @@
if(!Adjacent(target))
awaiting_surrender = 5 // I'm done playing nice
mode = SECBOT_HUNT
return
var/threat = check_threat(target)
if(threat < 4)
target = null

View File

@@ -622,6 +622,12 @@ proc/is_blind(A)
return 0
/mob/living/carbon/assess_perp(var/obj/access_obj, var/check_access, var/auth_weapons, var/check_records, var/check_arrest)
if(handcuffed)
return SAFE_PERP
return ..()
/mob/living/carbon/human/assess_perp(var/obj/access_obj, var/check_access, var/auth_weapons, var/check_records, var/check_arrest)
var/threatcount = ..()
if(. == SAFE_PERP)