Skip to content

Commit

Permalink
[goonlight] Выключаем генерацию света от звезд.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZVee committed Jan 28, 2016
1 parent 3584485 commit e27ec75
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions code/game/turfs/space/space.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
/turf/space/New()
if(!istype(src, /turf/space/transit))
icon_state = "[((x + y) ^ ~(x * y) + z) % 25]"
update_starlight()
//update_starlight()

/turf/space/proc/update_starlight()
if(locate(/turf/simulated) in orange(src,1))
set_light(2,2) // Too lazy to port starlight configuration and its 0 by default anyway... ~Zve
return
//if(locate(/turf/simulated) in orange(src,1))
// set_light(2,2) // Too lazy to port starlight configuration and its 0 by default anyway... ~Zve
/*if(!config.starlight)
return
if(locate(/turf/simulated) in orange(src,1))
Expand Down

0 comments on commit e27ec75

Please sign in to comment.