mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Revert "Merge pull request #4779 from Neerti/2/1/2018_make_the_sun_not_lag_again"
This reverts commitf4df29713d, reversing changes made to337e5e7436.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user