mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
@@ -61,12 +61,13 @@
|
||||
|
||||
/obj/item/weapon/blobcore_chunk/proc/get_carrier(var/atom/target)
|
||||
var/atom/A = target ? target.loc : src
|
||||
if(!istype(A, /mob/living))
|
||||
A = get_carrier(A)
|
||||
|
||||
if(isturf(A) || isarea(A)) // Something has gone horribly wrong if the second is true.
|
||||
return FALSE // No mob is carrying us.
|
||||
|
||||
if(!istype(A, /mob/living))
|
||||
A = get_carrier(A)
|
||||
|
||||
return A
|
||||
|
||||
/obj/item/weapon/blobcore_chunk/blob_act(obj/structure/blob/B)
|
||||
|
||||
Reference in New Issue
Block a user