Use LAZYSET to add people to prey excludes

This commit is contained in:
Aronai Sieyes
2022-10-19 10:25:55 -05:00
parent e5042e5677
commit 1d37dc3e22
+1 -1
View File
@@ -493,7 +493,7 @@
muffled = FALSE //Removes Muffling
forceMove(get_turf(src)) //Just move me up to the turf, let's not cascade through bellies, there's been a problem, let's just leave.
for(var/mob/living/simple_mob/SA in range(10))
SA.prey_excludes[src] = world.time
LAZYSET(SA.prey_excludes, src, world.time)
log_and_message_admins("[key_name(src)] used the OOC escape button to get out of [key_name(B.owner)] ([B.owner ? "<a href='?_src_=holder;adminplayerobservecoodjump=1;X=[B.owner.x];Y=[B.owner.y];Z=[B.owner.z]'>JMP</a>" : "null"])")
if(!ishuman(B.owner))