Remove stat() sleeping

This commit is contained in:
Aronai Sieyes
2020-05-19 16:25:56 -04:00
parent 49c00572c9
commit ffe7b9496d

View File

@@ -400,18 +400,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