[MIRROR] Prevent AIs from changing their shell's icon_state arbitraily [MDB IGNORE] (#19260)

* Prevent AIs from changing their shell's icon_state arbitraily (#73112)

* Prevent AIs from changing their shell's icon_state arbitraily

---------

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-02-10 14:14:02 +00:00
committed by GitHub
co-authored by Zephyr
parent 9a3eb17bd9
commit 7771ba8ba4
@@ -51,6 +51,9 @@
. = ..()
if(.)
return
if(!isAI(holder.mob))
qdel(src)
return
switch(action)
if("search")
if(search_string != params["to_search"])