move sunlight to compile-time option (#3636)

Turns out sunlight is a little memory hungry/slow. This disables sunlight via. compile-time define instead of removing it so it can be re-enabled if suitable later.
This commit is contained in:
Lohikar
2017-10-14 19:25:11 +03:00
committed by Erki
parent 1c5fa4880c
commit dedb657aeb
5 changed files with 27 additions and 0 deletions
@@ -1,3 +1,5 @@
#ifdef ENABLE_SUNLIGHT
/datum/light_source/sunlight
skip_falloff = TRUE
@@ -191,3 +193,5 @@
QUEUE_UPDATE(LIGHTING_VIS_UPDATE)
#undef QUEUE_UPDATE
#endif