Made more sleeps use stoplag

This buffs a few things, but makes them handle lag better and tick at the rate of world.tick_lag without causing lag
This commit is contained in:
MrStonedOne
2016-04-05 11:08:28 -07:00
parent 7827629172
commit 5098a3c884
11 changed files with 12 additions and 10 deletions
+1
View File
@@ -324,6 +324,7 @@ var/next_external_rsc = 0
sleep(1)
else
sleep(5)
stoplag()
//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()