Removes a lie from client_proc (#36357)

Byond calls Stat() every 8 ticks with or without this code, it was literally doing nothing. This was pointless and none of this code is expensive enough to warrant throttling it anyways.
This commit is contained in:
Kyle Spier-Swenson
2018-03-13 01:59:13 -07:00
committed by duncathan salt
parent ab129a3fc2
commit 6febacc523
-11
View File
@@ -656,17 +656,6 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
return inactivity
return FALSE
// 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)
stoplag(1)
else
stoplag(5)
//send resources to the client. It's here in its own proc so we can move it around easiliy if need be
/client/proc/send_resources()
#if (PRELOAD_RSC == 0)