Remove stat() sleeping

This commit is contained in:
Aronai Sieyes
2020-05-19 16:28:17 -04:00
parent 7d5042cacd
commit 4a11a86399
-12
View File
@@ -342,18 +342,6 @@
else
. = ..()
// Byond seemingly calls stat, each tick.
// Calling things each tick can get expensive real quick.
// So we slow this down a little.
// See: http://www.byond.com/docs/ref/info.html#/client/proc/Stat
/client/Stat()
. = ..()
if (holder)
sleep(1)
else
stoplag(5)
/client/proc/last_activity_seconds()
return inactivity / 10