Skip to content

Commit

Permalink
fixes bane backbreaker from making customers flee (tgstation#57564)
Browse files Browse the repository at this point in the history
  • Loading branch information
tralezab authored Mar 10, 2021
1 parent f8bcd39 commit e1e0b79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/datums/ai/robot_customer/robot_customer_behaviors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
. = ..()
var/mob/living/simple_animal/robot_customer/customer_pawn = controller.pawn
var/datum/customer_data/customer_data = controller.blackboard[BB_CUSTOMER_CUSTOMERINFO]
var/mob/living/greytider = controller.blackboard[BB_CUSTOMER_CURRENT_TARGET]
if(greytider) //usually if we stop waiting, it's because we're done with the venue. but in this case we're beating some dude up so don't switch to leaving
return
controller.blackboard[BB_CUSTOMER_LEAVING] = TRUE
customer_pawn.update_icon() //They might have a special leaving accesoiry (french flag)
if(succeeded)
Expand Down

0 comments on commit e1e0b79

Please sign in to comment.