mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Changed else ifs to if
Else ifs were not activating
This commit is contained in:
@@ -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
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user