mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 17:11:22 +00:00
Updates code to be 510 compile compatible. Also introduces the new updates to the GOON processScheduler, which should make for better gameplay and less lag. Specially on high population.
17 lines
423 B
Plaintext
17 lines
423 B
Plaintext
/datum/controller/process/disease
|
|
var/tmp/datum/updateQueue/updateQueueInstance
|
|
|
|
/datum/controller/process/disease/setup()
|
|
name = "disease"
|
|
schedule_interval = 20 // every 2 seconds
|
|
|
|
/datum/controller/process/disease/doWork()
|
|
for(var/disease in active_diseases)
|
|
var/datum/disease/D = disease
|
|
D.process()
|
|
SCHECK
|
|
|
|
/datum/controller/process/disease/statProcess()
|
|
..()
|
|
stat(null, "[active_diseases.len] disease\s")
|