From ffe7b9496d9fc7f4b16b8c64600f7e9db7ea6912 Mon Sep 17 00:00:00 2001 From: Aronai Sieyes Date: Tue, 19 May 2020 16:25:56 -0400 Subject: [PATCH] Remove stat() sleeping --- code/modules/client/client procs.dm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index c65fce15f8..6be3b32460 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -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