mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
LIGHTING IS BACK.
AND A SHITLOAD FASTER. SANIC.
This commit is contained in:
@@ -50,7 +50,7 @@ datum/shuttle_controller/proc/incall(coeff = 1)
|
||||
//turning on the red lights in hallways
|
||||
if(alert == 0)
|
||||
for(var/area/A in areas)
|
||||
if(istype(A, /area/hallway) && !A.lighting_subarea)
|
||||
if(istype(A, /area/hallway))
|
||||
A.readyalert()
|
||||
|
||||
datum/shuttle_controller/proc/shuttlealert(var/X)
|
||||
@@ -80,7 +80,7 @@ datum/shuttle_controller/proc/recall()
|
||||
setdirection(-1)
|
||||
online = 1
|
||||
for(var/area/A in areas)
|
||||
if(istype(A, /area/hallway) && !A.lighting_subarea)
|
||||
if(istype(A, /area/hallway))
|
||||
A.readyreset()
|
||||
return
|
||||
else //makes it possible to send shuttle back.
|
||||
@@ -242,6 +242,8 @@ datum/shuttle_controller/emergency_shuttle/process()
|
||||
var/turf/D = locate(T.x, throwy - 1, 1)
|
||||
//var/turf/E = get_step(D, SOUTH)
|
||||
for(var/atom/A as mob|obj in T)
|
||||
if(istype(A, /atom/movable/lighting_overlay)) //This'd be a whole nother level of dumb
|
||||
continue
|
||||
if(ismob(A))
|
||||
var/mob/M=A
|
||||
M.gib()
|
||||
|
||||
Reference in New Issue
Block a user