mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] New to init final (#10649)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e1b14a3570
commit
5853b61b55
@@ -1,9 +1,3 @@
|
||||
/area
|
||||
luminosity = TRUE
|
||||
var/dynamic_lighting = TRUE
|
||||
|
||||
/area/New()
|
||||
. = ..()
|
||||
|
||||
if(dynamic_lighting)
|
||||
luminosity = FALSE
|
||||
|
||||
@@ -1,17 +1,9 @@
|
||||
/turf/New(loc, ..., is_turfchange=FALSE)
|
||||
. = ..(args)
|
||||
|
||||
/turf/simulated
|
||||
var/datum/sunlight_handler/shandler
|
||||
var/shandler_noinit = FALSE
|
||||
|
||||
/turf/simulated/New(loc, ..., is_turfchange=FALSE) //This is so fucking awful have mercy on my soul for writing this
|
||||
if(is_turfchange)
|
||||
shandler_noinit = TRUE
|
||||
. = ..(args)
|
||||
|
||||
/turf/simulated/Initialize(mapload)
|
||||
. = ..(args)
|
||||
. = ..()
|
||||
if(mapload)
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
|
||||
Reference in New Issue
Block a user