[no gbp] fixes being able to tell animals to commit atrocious acts (#88754)

## About The Pull Request
closes #88743 . the issue is while they'd ignore ur command since its
impossible, the emote would still appear, which i now realize was a
mistake

## Why It's Good For The Game
fixes being able to tell animals to commit atrocious acts

## Changelog
🆑
fix: radial pet commanding emotes will now not appear if the command is
impossible to execute
/🆑
This commit is contained in:
Ben10Omintrix
2024-12-28 16:40:45 -05:00
committed by GitHub
parent 91d39064bf
commit f205e48ef5
6 changed files with 22 additions and 21 deletions
@@ -210,11 +210,11 @@
/datum/pet_command/clean/set_command_target(mob/living/parent, atom/target)
if(isnull(target) || !istype(target, /obj/effect/decal/cleanable))
return
return FALSE
if(isnull(parent.ai_controller))
return
return FALSE
if(LAZYACCESS(parent.ai_controller.blackboard[BB_TEMPORARY_IGNORE_LIST], target))
return
return FALSE
return ..()
/datum/pet_command/clean/execute_action(datum/ai_controller/basic_controller/bot/controller)