LIGHTING IS BACK.

AND A SHITLOAD FASTER.

SANIC.
This commit is contained in:
PJB3005
2015-07-21 12:54:42 +02:00
parent 54a563cb0d
commit 3bc5d86263
192 changed files with 1502 additions and 1145 deletions

View File

@@ -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()