mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Small refinery runtime (#11320)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
699685490c
commit
c4dfca6517
@@ -97,7 +97,7 @@
|
||||
if(!T)
|
||||
continue
|
||||
var/obj/machinery/conveyor/C = locate() in T
|
||||
if(C && !C.stat && C.operating && C.dir == GLOB.reverse_dir[D]) // If an operating conveyor points into us... Check if it's moving anything
|
||||
if(C && !C.stat && C.operating && C.dir == GLOB.reverse_dir[D] && T.contents.len > 1) // If an operating conveyor points into us... Check if it's moving anything
|
||||
var/obj/item/I = pick(T.contents - list(C))
|
||||
if(istype(I) && conveyor_load(I))
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user