diff --git a/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm b/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm index 79f8a5cfe2..8feb3e5b97 100644 --- a/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm +++ b/code/modules/mob/living/carbon/human/species/station/station_special_abilities_vr.dm @@ -132,11 +132,7 @@ /mob/living/carbon/human/proc/getlightlevel() //easier than having the same code in like three places if(isturf(src.loc)) //else, there's considered to be no light var/turf/T = src.loc - var/atom/movable/lighting_overlay/L = locate(/atom/movable/lighting_overlay) in T - if(L) - return (2 * (min(5,L.lum_r + L.lum_g + L.lum_b) - 2.5)) - else - return 5 + return T.get_lumcount() * 5 else return 0 /mob/living/carbon/human/proc/handle_feral() diff --git a/maps/RandomZLevels/beach.dm b/maps/RandomZLevels/beach.dm index 2503814ccc..1bbaf6dd73 100644 --- a/maps/RandomZLevels/beach.dm +++ b/maps/RandomZLevels/beach.dm @@ -18,7 +18,7 @@ icon_state = "red" base_turf = /turf/simulated/floor/beach/sand luminosity = 1 - lighting_use_dynamic = 0 + dynamic_lighting = 0 requires_power = 0 /area/awaymission/beach/coast diff --git a/maps/RandomZLevels/snowfield.dm b/maps/RandomZLevels/snowfield.dm index 7d9e39eb48..709253fd93 100644 --- a/maps/RandomZLevels/snowfield.dm +++ b/maps/RandomZLevels/snowfield.dm @@ -11,7 +11,7 @@ icon_state = "green" requires_power = 1 always_unpowered = 1 - lighting_use_dynamic = 1 + dynamic_lighting = 1 power_light = 0 power_equip = 0 power_environ = 0 diff --git a/maps/RandomZLevels/zoo.dm b/maps/RandomZLevels/zoo.dm index 9372d95053..8dfc885783 100644 --- a/maps/RandomZLevels/zoo.dm +++ b/maps/RandomZLevels/zoo.dm @@ -3,7 +3,7 @@ /area/awaymission/zoo icon_state = "green" requires_power = 0 - lighting_use_dynamic = 0 + dynamic_lighting = 0 ambience = list('sound/ambience/ambispace.ogg','sound/music/title2.ogg','sound/music/space.ogg','sound/music/main.ogg','sound/music/traitor.ogg') /area/awaymission/zoo/solars