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
+4
View File
@@ -1,3 +1,5 @@
#ifdef ENABLE_SUNLIGHT
/var/datum/controller/subsystem/sunlight/SSsunlight
/datum/controller/subsystem/sunlight
@@ -96,3 +98,5 @@
/datum/sun_state/blue
name = "Blue"
color = LIGHT_COLOR_BLUE
#endif