Merge pull request #6390 from Citadel-Station-13/upstream-merge-37152
[MIRROR] Fixes conveyor switches.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user