for(var/client/C)
or
for(var/mob/M in world) if(M.client)
The first one looks faster, since it is only looping through clients, correct?
![]() |
RPG Starter |
An Open Source Demo/Game with everything you'll need to get started on your very own BYOND Game! |
Copyright © 2025 BYOND Software.
All rights reserved.
If it was me, I would choose the second one . Like you said, the first one looks the fastest . Cause it looks like its only looping threw players, and then the second one looks threw all the mob's in the world, then sorts them out into 2 groups . So Im guessing the 1st one ?