[MIRROR] Prevents blob camera from falling through zlevels (#5995)

* blob-multiz-fix (#59326)

Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com>

* Prevents blob camera from falling through zlevels

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Watermelon914 <3052169-Watermelon914@ users.noreply.gitlab.com>
This commit is contained in:
SkyratBot
2021-05-27 22:35:21 +01:00
committed by GitHub
co-authored by Watermelon914 Watermelon914
parent c4bb902d6d
commit 8ca5b363eb
@@ -96,6 +96,9 @@ GLOBAL_LIST_EMPTY(blob_nodes)
if(blobstrain.effectdesc)
to_chat(src, "The <b><font color=\"[blobstrain.color]\">[blobstrain.name]</b></font> strain [blobstrain.effectdesc]")
/mob/camera/blob/can_zFall(turf/source, levels)
// Prevent blob from falling through zlevels
return FALSE
/mob/camera/blob/proc/is_valid_turf(turf/T)
var/area/A = get_area(T)