fix shuttles and turbolifts ending up outdoors (#17248)

* fix shuttles and turbolifts ending up outdoors

* light fixes

* .

* clamp brightness
This commit is contained in:
Kashargul
2025-03-03 19:39:17 -05:00
committed by GitHub
parent 1102b4f3e8
commit d024ece20c
5 changed files with 57 additions and 20 deletions
+1 -1
View File
@@ -63,6 +63,6 @@
weather_holder.process()
/datum/planet/proc/update_sun_deferred(var/new_brightness, var/new_color)
sun["brightness"] = new_brightness
sun["brightness"] = CLAMP01(new_brightness)
sun["color"] = new_color
needs_work |= PLANET_PROCESS_SUN