mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Makes this yawn proc sane (#11635)
This commit is contained in:
@@ -148,10 +148,10 @@
|
|||||||
desc = "Push crate in, be amaze."
|
desc = "Push crate in, be amaze."
|
||||||
var/list/inserted = list()
|
var/list/inserted = list()
|
||||||
|
|
||||||
/obj/machinery/intershipreceiver/Bumped(atom/movable/AM as mob)
|
/obj/machinery/intershipreceiver/Bumped(atom/movable/bumper)
|
||||||
if(istype(AM, /obj/structure/closet/crate))
|
if(istype(bumper, /obj/structure/closet/crate))
|
||||||
inserted += AM
|
inserted += bumper
|
||||||
AM.forceMove(src)
|
bumper.forceMove(src)
|
||||||
|
|
||||||
/obj/machinery/intershipreceiver/proc/GetItems(var/index)
|
/obj/machinery/intershipreceiver/proc/GetItems(var/index)
|
||||||
if(!isnull(inserted) && inserted.len > index)
|
if(!isnull(inserted) && inserted.len > index)
|
||||||
|
|||||||
Reference in New Issue
Block a user