Optimizes some functions (#24049)

* Optimizes some functions

* Update code/__HELPERS/unsorted.dm

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

* Cached per AI now

* no more 80k character jumpscares

* parent functions exist

* I need a new keyboard

* Update code/modules/surgery/organs/vocal_cords.dm

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>

* Update code/modules/mob/living/silicon/ai/ai_say.dm

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>

* Update code/__HELPERS/game.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

* Update code/__HELPERS/game.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
GDN
2024-04-03 17:51:39 +00:00
committed by GitHub
co-authored by AffectedArc07 Burzah Contrabang S34N
parent 176e12ff04
commit cc0eee4b4d
16 changed files with 77 additions and 77 deletions
@@ -13,7 +13,7 @@
/datum/action/changeling/resonant_shriek/sting_action(mob/user)
if(istype(user.loc, /obj/machinery/atmospherics))
return FALSE
for(var/mob/living/M in get_mobs_in_view(4, user))
for(var/mob/living/M as anything in get_mobs_in_view(4, user))
if(iscarbon(M))
if(ishuman(M))
var/mob/living/carbon/human/H = M