Fixes conveyors. (#37152)

This commit is contained in:
AnturK
2018-04-13 11:31:08 +02:00
committed by CitadelStationBot
parent 58111c6482
commit 4e7d222224
+1 -1
View File
@@ -348,7 +348,7 @@ GLOBAL_LIST_EMPTY(conveyors_by_id)
/obj/item/conveyor_switch_construct/Initialize()
. = ..()
id = rand() //this couldn't possibly go wrong
id = "[rand()]" //this couldn't possibly go wrong
/obj/item/conveyor_switch_construct/afterattack(atom/A, mob/user, proximity)
if(!proximity || user.stat || !isfloorturf(A) || istype(A, /area/shuttle))