next new to init (#17400)

* next new to init

* .

* this needs thorough testing

* .

* needs an istype

* also vnotice

* mvoe to defines
This commit is contained in:
Kashargul
2025-03-24 06:18:39 -04:00
committed by GitHub
parent 8a4ac36d15
commit d3b7ba8b43
141 changed files with 529 additions and 601 deletions
@@ -92,12 +92,9 @@ var/static/list/fake_sunlight_zs = list()
var/weather_visuals_icon = 'icons/effects/weather.dmi'
var/weather_visuals_icon_state = null
/obj/effect/fake_sun/New(loc, ...)
/obj/effect/fake_sun/Initialize(mapload)
. = ..()
world_suns += src
/obj/effect/fake_sun/Initialize(mapload)
..()
if(!advanced_lighting)
return INITIALIZE_HINT_LATELOAD
do_sun = FALSE