Fix a loop error.

This commit is contained in:
Mechoid
2020-05-26 22:08:12 -07:00
parent 33145711ea
commit 9d86f353ed

View File

@@ -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)