Changed else ifs to if

Else ifs were not activating
This commit is contained in:
clusterfack
2014-10-20 13:59:36 -05:00
parent e434e39093
commit 47c3af55da

View File

@@ -231,11 +231,11 @@ datum/shuttle_controller
if(ismob(A))
var/mob/M=A
M.gib()
else if(istype(A,/atom/movable))
if(istype(A,/atom/movable))
var/atom/movable/AM=A
AM.Move(D)
// Remove windows, grills, lattice, etc.
else if(istype(A,/obj/structure) || istype(A,/obj/machinery) || istype(A, /obj/structure/window) || istype(A, /obj/structure/grille))
if(istype(A,/obj/structure) || istype(A,/obj/machinery) || istype(A, /obj/structure/window) || istype(A, /obj/structure/grille))
del(A)
// NOTE: Commenting this out to avoid recreating mass driver glitch
/*