anchor.diff:  		L.force_update = FALSE
   		L.needs_update = FALSE
   
  -		light_updates++
  -
   		scheck()
   
   	var/list/lighting_update_corners_old = lighting_update_corners //Same as above.
   	lighting_update_corners = list()
   	for(var/A in lighting_update_corners_old)
  -		if(corner_updates >= MAX_CORNER_UPDATES_PER_WORK)
  -			lighting_update_corners += A
  -			continue // DON'T break, we're adding stuff back into the update queue.
  -
   		var/datum/lighting_corner/C = A
   
   		C.update_overlays()
   
   		C.needs_update = FALSE
   
  -		corner_updates++
  -
   	var/list/lighting_update_overlays_old = lighting_update_overlays //Same as above.
   	lighting_update_overlays = list()
   
   	for(var/atom/movable/lighting_overlay/O in lighting_update_overlays_old)
  -		if(overlay_updates >= MAX_OVERLAY_UPDATES_PER_WORK)
  -			lighting_update_overlays += O
  -			continue // DON'T break, we're adding stuff back into the update queue.
  -
   		O.update_overlay()
   		O.needs_update = 0
  -		overlay_updates++
  -		scheck()
  -
  -#undef MAX_LIGHT_UPDATES_PER_WORK
  -#undef MAX_CORNER_UPDATES_PER_WORK
  -#undef MAX_OVERLAY_UPDATES_PER_WORK
  +		scheck()
positive.code: // Solves problems with lighting updates lagging shit
  // Max constraints on number of updates per doWork():
  #define MAX_LIGHT_UPDATES_PER_WORK   100
  #define MAX_CORNER_UPDATES_PER_WORK  1000
  #define MAX_OVERLAY_UPDATES_PER_WORK 2000
  
  /var/list/lighting_update_lights    = list()    // List of lighting sources  queued for update.
  /var/list/lighting_update_corners   = list()    // List of lighting corners  queued for update.
  /var/list/lighting_update_overlays  = list()    // List of lighting overlays queued for update.
  
negative.code: 	create_all_lighting_overlays()
  
  /datum/controller/process/lighting/doWork()
  
  	var/list/lighting_update_lights_old = lighting_update_lights //We use a different list so any additions to the update lists during a delay from scheck() don't cause things to be cut from the list without being updated.
  	lighting_update_lights = list()
  	for(var/datum/light_source/L in lighting_update_lights_old)
  		if(L.check() || L.destroyed || L.force_update)
  			L.remove_lum()
  			if(!L.destroyed)
  