Fixes being able to move certain spawnpoints (#25135)

This commit is contained in:
Cyberboss
2017-03-17 10:03:15 -04:00
committed by AnturK
parent 7b2b19f1f8
commit ca070c5efa
@@ -15,10 +15,18 @@
var/item_chair = /obj/item/chair // if null it can't be picked up
layer = OBJ_LAYER
/obj/structure/chair/Initialize()
..()
if(!anchored) //why would you put these on the shuttle?
addtimer(CALLBACK(src, .proc/RemoveFromLatejoin), 0)
/obj/structure/chair/Destroy()
latejoin -= src //These may be here due to the arrivals shuttle
RemoveFromLatejoin()
return ..()
/obj/structure/chair/proc/RemoveFromLatejoin()
latejoin -= src //These may be here due to the arrivals shuttle
/obj/structure/chair/deconstruct()
// If we have materials, and don't have the NOCONSTRUCT flag
if(buildstacktype && (!(flags & NODECONSTRUCT)))