client
inactivity()
for(var/mob/M)
M.staminaregen++
if(M.staminaregen>=10)
M.staminaregen=0
M.stamina++
if(M.stamina >= M.maxstamina)
M.stamina = M.maxstamina
_>I just learned it's not a process, so that won't work.
So, is there anyother way to do that?
Thanks for taking your time to read this post. ;D
Maybe this will work? I never did figure it out but that was a while back..
Try that (Not sure if itll work, untested). If it is totally wrong someone please tell me.