8 reasons frying a cpu will change the way you think about everything.

This commit is contained in:
Pieter Vlasblom
2015-10-05 03:33:38 +02:00
parent 4027a4cb70
commit 8d5bb4d126
+10 -2
View File
@@ -175,7 +175,7 @@ var/next_external_rsc = 0
src.changes()
else
winset(src, "rpane.changelogb", "background-color=#eaeaea;font-style=bold")
if (ckey in clientmessages)
for (var/message in clientmessages[ckey])
src << message
@@ -187,7 +187,7 @@ var/next_external_rsc = 0
//////////////
//DISCONNECT//
//////////////
/client/Del()
if(holder)
adminGreet(1)
@@ -279,6 +279,14 @@ var/next_external_rsc = 0
if(inactivity > duration) return inactivity
return 0
// 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()
. = ..()
sleep(1)
//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()