anchor.diff:  			qtimer.bucketEject()
   			qtimer.timeToRun = (qtimer.flags & TIMER_CLIENT_TIME ? REALTIMEOFDAY : world.time) + qtimer.wait
   			qtimer.bucketJoin()
  -
  -	spent.len = 0
  -
  -//formated this way to be runtime resistant
  +	invoked_timers.len = 0
  +
  +/**
  +  * Generates a string with details about the timed event for debugging purposes
  +  */
   /datum/controller/subsystem/timer/proc/get_timer_debug_string(datum/timedevent/TE)
   	. = "Timer: [TE]"
   	. += "Prev: [TE.prev ? TE.prev : "NULL"], Next: [TE.next ? TE.next : "NULL"]"
  
positive.code: 	if(!TE.callBack)
  		. += ", NO CALLBACK"
  
  /datum/controller/subsystem/timer/proc/reset_buckets()
  	var/list/bucket_list = src.bucket_list
  	var/list/alltimers = list()
  	//collect the timers currently in the bucket
  	for (var/bucket_head in bucket_list)
  		if (!bucket_head)
  			continue
  		var/datum/timedevent/bucket_node = bucket_head
  		do
  
negative.code: 	src.flags = flags
  	src.hash = hash
  
  	// Determine time at which the timer's callback should be invoked
  	timeToRun = (flags & TIMER_CLIENT_TIME ? REALTIMEOFDAY : world.time) + wait
  
  	// Include the timer in the hash table if the timer is unique
  	if (flags & TIMER_UNIQUE)
  		SStimer.hashes[hash] = src
  
  	// Generate ID for the timer if the timer is stoppable, include in the timer id dictionary
  	if (flags & TIMER_STOPPABLE)
  		id = num2text(nextid, 100)
  		if (nextid >= SHORT_REAL_LIMIT)
  			nextid += min(1, 2 ** round(nextid / SHORT_REAL_LIMIT))
  		else
  			nextid++
  		SStimer.timer_id_dict[id] = src
  
  	// Generate debug-friendly name for timer
  	var/static/list/bitfield_flags = list("TIMER_UNIQUE", "TIMER_OVERRIDE", "TIMER_CLIENT_TIME", "TIMER_STOPPABLE", "TIMER_NO_HASH_WAIT", "TIMER_LOOP")
  	name = "Timer: [id] (\ref[src]), TTR: [timeToRun], Flags: [jointext(bitfield2list(flags, bitfield_flags), ", ")], \
  		callBack: \ref[callBack], callBack.object: [callBack.object]\ref[callBack.object]([getcallingtype()]), \
  		callBack.delegate:[callBack.delegate]([callBack.arguments ? callBack.arguments.Join(", ") : ""])"
  
  	if ((timeToRun < world.time || timeToRun < SStimer.head_offset) && !(flags & TIMER_CLIENT_TIME))
  		CRASH("Invalid timer state: Timer created that would require a backtrack to run (addtimer would never let this happen): [SStimer.get_timer_debug_string(src)]")
  