From c31e4d5cf1131d4b5a5505704002be5dadcd96e5 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:21:42 +0200 Subject: [PATCH] [MIRROR] Prevents moonicorns from placing fairy grass on space/chasm/lava/water turfs [MDB IGNORE] (#23838) * Prevents moonicorns from placing fairy grass on space/chasm/lava/water turfs (#78368) ## About The Pull Request Apparently space turfs aren't openspace. Who knew! They already don't create bridges over openspace turfs, so no reason for em to make space bridges either. ## Changelog :cl: fix: fixed moonicorns making space/chasm/lava/water bridges with their fairy grass /:cl: * Prevents moonicorns from placing fairy grass on space/chasm/lava/water turfs --------- Co-authored-by: Sealed101 --- code/datums/elements/movement_turf_changer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/elements/movement_turf_changer.dm b/code/datums/elements/movement_turf_changer.dm index 1147c3a8353..c42ef287f81 100644 --- a/code/datums/elements/movement_turf_changer.dm +++ b/code/datums/elements/movement_turf_changer.dm @@ -26,7 +26,7 @@ SIGNAL_HANDLER var/turf/destination = target.loc - if(!isturf(destination) || istype(destination, turf_type) || isopenspaceturf(destination)) + if(!isturf(destination) || istype(destination, turf_type) || isgroundlessturf(destination)) return destination.PlaceOnTop(turf_type)