Optimizes get_mobs_or_objs_in_view() (#13913)

This commit is contained in:
mikomyazaki
2022-05-17 12:22:06 +02:00
committed by GitHub
parent 09aff907cc
commit 5e0678a435
3 changed files with 26 additions and 37 deletions
+2 -2
View File
@@ -153,7 +153,7 @@
O.see_emote(src, message)
if(intent_message)
intent_message(intent_message, intent_range)
intent_message(intent_message, intent_range, messagemobs)
// Designed for mobs contained inside things, where a normal visible message wont actually be visible
// Useful for visible actions by pAIs, and held mobs
@@ -343,7 +343,7 @@
/mob/living/simple_animal/borer/can_examine()
. = ..()
if(!. && iscarbon(loc) && isturf(loc.loc)) // We're inside someone, let us examine still.
return TRUE
return TRUE
/mob/var/obj/effect/decal/point/pointing_effect = null//Spam control, can only point when the previous pointer qdels