From 4a11a86399f02edce4644c4027c385167eece2f2 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 933729fa13..47e9a91073 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -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