mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user