From 8fa9540bce8b19508e946a6db1ec8f5c4a01d41f Mon Sep 17 00:00:00 2001 From: Cadyn <35672377+cadyn@users.noreply.github.com> Date: Thu, 25 Apr 2024 23:10:15 -0700 Subject: [PATCH] bandaid for cringe corner deletion (#8317) --- code/modules/lighting/sunlight_handler_ch.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/lighting/sunlight_handler_ch.dm b/code/modules/lighting/sunlight_handler_ch.dm index b480a7f6e0..fa01e40fc3 100644 --- a/code/modules/lighting/sunlight_handler_ch.dm +++ b/code/modules/lighting/sunlight_handler_ch.dm @@ -86,6 +86,7 @@ sunlight_update() /datum/sunlight_handler/proc/sunlight_check() + holder.generate_missing_corners() //Somehow corners are self destructing under specific circumstances. Likely race conditions. This is slightly unoptimal but may be necessary. set_sleeping(FALSE) //We set sleeping to false just incase. If the conditions are correct, we'll end up going back to sleeping soon enough anyways. var/cur_sunlight = sunlight if(holder.is_outdoors())