Revert "Merge pull request #4779 from Neerti/2/1/2018_make_the_sun_not_lag_again"

This reverts commit f4df29713d, reversing
changes made to 337e5e7436.
This commit is contained in:
Leshana
2018-04-18 18:08:16 -04:00
parent 35b60f19f8
commit 471e544a61
5 changed files with 2 additions and 144 deletions

View File

@@ -62,13 +62,6 @@ var/datum/controller/process/planet/planet_controller = null
if(P.needs_work & PLANET_PROCESS_SUN)
P.needs_work &= ~PLANET_PROCESS_SUN
//Redraw sun overlay
var/new_brightness = P.sun["brightness"]
var/new_color = P.sun["color"]
for(var/A in P.planet_suns)
var/obj/effect/sun/sun = A
sun.set_light(sun.light_range, new_brightness, new_color)
SCHECK
/*
var/new_range = P.sun["range"]
var/new_brightness = P.sun["brightness"]
var/new_color = P.sun["color"]
@@ -76,7 +69,6 @@ var/datum/controller/process/planet/planet_controller = null
var/turf/simulated/turf = T
turf.set_light(new_range, new_brightness, new_color)
SCHECK
*/
//Temperature needs updating
if(P.needs_work & PLANET_PROCESS_TEMP)