mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-20 03:23:36 +01:00
Helps to add the actual new file.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
var/datum/controller/transfer_controller = new /transfer_controller()
|
||||
var/timerbuffer = 0 //buffer for time check
|
||||
/transfer_controller/New()
|
||||
timerbuffer = config.vote_autotransfer_initial
|
||||
processing_objects += src
|
||||
|
||||
/transfer_controller/Del()
|
||||
processing_objects -= src
|
||||
|
||||
/transfer_controller/proc/process()
|
||||
if (world.time >= timerbuffer - 600)
|
||||
vote.autotransfer()
|
||||
timerbuffer = timerbuffer + config.vote_autotransfer_interval
|
||||
Reference in New Issue
Block a user